/*
Theme Name: OknaProfi
Theme URI: https://oknaprofi.pl/
Author: OknaProfi
Description: Motyw WordPress zbudowany na bazie statycznej strony OknaProfi. Strony firmowe pozostają statyczne, a Baza wiedzy wyświetla dynamiczne wpisy blogowe.
Version: 1.0.3
Text Domain: oknaprofi
*/
/* ============================================================
   OknaProfi - Main Stylesheet
   Font: Montserrat (Google Fonts)
   Colors: Anthracite / Cream / Warm Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #faf9f6;
  --bg2:         #f0ede6;
  --primary:     #1f2130;
  --primary-fg:  #faf9f6;
  --secondary:   #efc85b;
  --secondary-fg:#ffffff;
  --muted:       #e8e4db;
  --muted-fg:    #5c5f72;
  --white:       #ffffff;
  --border:      #e0dbd0;
  --shadow:      0 2px 20px rgba(31,33,48,.08);
  --shadow-lg:   0 8px 40px rgba(31,33,48,.14);
  --radius:      0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   1.75rem;
  --container:   1200px;
  --header-h:    72px;
  --transition:  0.28s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg2); }
.section--dark { background: var(--primary); color: var(--primary-fg); }

.text-center { text-align: center; }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-fg); }
.uppercase { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Fade-in animation (controlled by JS IntersectionObserver) */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted-fg); line-height: 1.75; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 700; color: var(--secondary); margin-bottom: .75rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 3px; font-family: 'Montserrat', sans-serif;
  font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  transition: all var(--transition); cursor: pointer; border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #2d3149; }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #a88218; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1rem 0;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow); padding: .65rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header-logo img { height: 34px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a { font-size: .875rem; font-weight: 600; color: rgba(31,33,48,.65); transition: color var(--transition); }
.header-nav a:hover, .header-nav a.active { color: var(--secondary); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: rgba(31,33,48,.65); transition: color var(--transition); }
.header-phone:hover { color: var(--secondary); }
.header-phone svg { width: 1rem; height: 1rem; }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: .3rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .85rem 1rem; font-weight: 600; font-size: 1rem; border-radius: var(--radius); color: var(--primary); transition: background var(--transition); }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--bg2); color: var(--secondary); }
.mobile-nav-actions { padding-top: 1rem; margin-top: .5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .75rem; }
.mobile-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; background: var(--bg2); border-radius: var(--radius); font-weight: 600; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 115%; object-fit: cover; object-position: center;
  transform: translateY(0); will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(31,33,48,.85) 0%, rgba(31,33,48,.55) 55%, rgba(31,33,48,.15) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 4rem 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 1.5rem; }
.hero-title em { color: var(--secondary); font-style: italic; }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 580px; line-height: 1.75; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.12); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-xl);
  padding: 2rem; color: var(--white);
}
.hero-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .5rem; }
.hero-card p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1.5rem; }
.hero-contact-link {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  background: rgba(255,255,255,.1); border-radius: var(--radius);
  color: var(--white); transition: background var(--transition); margin-bottom: .75rem;
  text-decoration: none;
}
.hero-contact-link:last-child { margin-bottom: 0; }
.hero-contact-link:hover { background: rgba(255,255,255,.2); color: var(--white); }
.hero-contact-icon {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(239,200,91,.7);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-contact-icon.phone { background: rgba(255,255,255,.2); }
.hero-contact-icon svg { width: 20px; height: 20px; }
.hero-contact-label { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: .15rem; }
.hero-contact-value { font-weight: 700; font-size: .95rem; }

/* ── Feature bar ────────────────────────────────────────────── */
.feature-bar { background: var(--primary); color: var(--white); padding: 1.1rem 0; }
.feature-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; }
.feature-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; }
.feature-item svg { width: 1.1rem; height: 1.1rem; color: var(--secondary); flex-shrink: 0; }

/* ── Sections ───────────────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }
.section-label { display: inline-block; text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 700; color: var(--secondary); margin-bottom: .75rem; }

/* ── Service Cards ──────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(239,200,91,.4); transform: translateY(-4px); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.service-card-body p { font-size: .9rem; color: var(--muted-fg); margin-bottom: 1rem; }
.service-card-body a { font-size: .85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .3rem; transition: color var(--transition); }
.service-card-body a:hover { color: var(--secondary); }
.service-card-body a svg { width: 1rem; height: 1rem; }

/* ── Process Steps ──────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps-grid::before { display: none; }
.step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step::after {
  content: '';
  position: absolute;
  top: 1.35rem;
  left: calc(65% + 2.4rem);
  right: calc(-50% + 2.4rem);
  border-top: 1px dashed rgba(255,255,255,.18);
  z-index: 0;
}
.step:last-child::after { display: none; }
.step-num { display: inline-flex; align-items: center; justify-content: center; min-width: 4.8rem; position: relative; z-index: 2; padding: 0 .2rem; background: #20232a; font-size: 3rem; font-weight: 800; color: var(--secondary); opacity: .58; line-height: 1; margin: 0 auto .75rem; font-style: italic; text-align: center; }
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; text-align: center; }
.step p { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; text-align: center; max-width: 280px; margin: 0 auto; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 2rem; box-shadow: var(--shadow); }
.stars { display: flex; gap: .25rem; margin-bottom: 1rem; color: var(--secondary); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.testimonial-quote { font-style: italic; color: var(--muted-fg); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-author { font-weight: 700; font-size: .9rem; }
.testimonial-project { font-size: .8rem; color: var(--muted-fg); margin-top: .2rem; }

/* ── CTA Section ────────────────────────────────────────────── */
.cta-box { background: var(--bg2); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 4rem; text-align: center; }
.cta-box h2 { margin-bottom: 1rem; }
.cta-box p { color: var(--muted-fg); max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Parallax Banner ────────────────────────────────────────── */
.parallax-banner { position: relative; height: 500px; overflow: hidden; background-color: #040814; background-image: url('/img/estetyka-inwestycji-parallax.webp'); background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }
.parallax-banner-img { display: none; }
.parallax-banner-overlay { position: absolute; inset: 0; background: rgba(31,33,48,.72); display: flex; align-items: center; justify-content: center; text-align: center; }
.parallax-banner-content { max-width: 700px; padding: 2rem; }
.parallax-banner-content p { color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 700; margin-bottom: 1rem; }
.parallax-banner-content h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.25; margin-bottom: 2rem; }

/* ── Offer page ─────────────────────────────────────────────── */
.offer-section { display: flex; align-items: center; gap: 4rem; margin-bottom: 5rem; }
.offer-section:last-of-type { margin-bottom: 0; }
.offer-section.reverse { flex-direction: row-reverse; }
.offer-img-wrap { width: 50%; border-radius: var(--radius-xl); overflow: hidden; flex-shrink: 0; aspect-ratio: 4/3; position: relative; }
.offer-img-wrap img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; top: -10%; will-change: transform; }
.offer-content { flex: 1; }
.offer-content h2 { margin-bottom: .75rem; }
.offer-content p { color: var(--muted-fg); line-height: 1.75; font-size: 1.05rem; margin-bottom: 1.5rem; }
.offer-bullets { margin-bottom: 2rem; }
.offer-bullets li { display: flex; align-items: center; gap: .75rem; padding: .4rem 0; color: rgba(31,33,48,.8); }
.offer-bullets li svg { width: 1.1rem; height: 1.1rem; color: var(--secondary); flex-shrink: 0; }

/* ── Windows comparison ─────────────────────────────────────── */
.windows-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.window-card { padding: 2rem; border-radius: var(--radius-xl); border: 1px solid var(--border); display: flex; flex-direction: column; }
.window-card.pvc { background: #f0f5ff; }
.window-card.alu { background: #f4f5f8; }
.window-card.wood { background: #fdf6ed; }
.window-card h3 { margin-bottom: 1rem; }
.window-card-ideal { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; color: var(--primary); }
.window-card-ideal-text { font-size: .875rem; color: var(--muted-fg); line-height: 1.55; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.window-card ul li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; padding: .3rem 0; color: rgba(31,33,48,.8); }
.window-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; margin-top: .45rem; }

/* ── Dark tech box ──────────────────────────────────────────── */
.tech-box { background: var(--primary); color: var(--white); border-radius: var(--radius-xl); padding: 3rem; overflow: hidden; position: relative; }
.tech-box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.tech-box h2 { color: var(--white); margin-bottom: 1rem; }
.tech-box p { color: rgba(255,255,255,.65); }
.tech-box-glow { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(to left, rgba(255,255,255,.04), transparent); pointer-events: none; }
.tech-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.tech-item:last-child { margin-bottom: 0; }
.tech-item svg { width: 1.5rem; height: 1.5rem; color: var(--secondary); flex-shrink: 0; margin-top: .1rem; }
.tech-item h4 { font-size: 1rem; color: var(--white); margin-bottom: .25rem; }
.tech-item p { font-size: .875rem; color: rgba(255,255,255,.6); }
.tech-inner-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 2rem; }
.tech-inner-box svg { width: 3rem; height: 3rem; color: var(--secondary); opacity: .5; margin-bottom: 1.5rem; }
.tech-inner-box h3 { color: var(--white); margin-bottom: .75rem; }
.tech-inner-box p { font-size: .9rem; color: rgba(255,255,255,.6); }

/* ── Installation page ──────────────────────────────────────── */
.install-layers { display: flex; flex-direction: column; gap: 1rem; }
.layer-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem; box-shadow: var(--shadow); }
.layer-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.layer-num.n1 { background: var(--secondary); }
.layer-num.n2 { background: var(--primary); }
.layer-num.n3 { background: var(--muted-fg); }
.layer-card h4 { font-size: .95rem; margin-bottom: .25rem; }
.layer-card p { font-size: .85rem; color: var(--muted-fg); }

.process-box { background: var(--bg2); border-radius: var(--radius-xl); padding: 3rem; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; margin-top: 2rem; }
.process-steps::before { content: ''; position: absolute; top: 2.25rem; left: 0; right: 0; height: 1px; background: var(--border); z-index: 0; }
.process-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; position: relative; z-index: 1; box-shadow: var(--shadow); }
.process-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; margin: 0 auto 1rem; }
.process-step h4 { font-size: .95rem; margin-bottom: .5rem; }
.process-step p { font-size: .8rem; color: var(--muted-fg); line-height: 1.5; }

.tips-list { display: flex; flex-direction: column; gap: .75rem; }
.tip-item { display: flex; gap: 1rem; align-items: flex-start; }
.tip-num { font-size: .9rem; font-weight: 800; color: var(--secondary); min-width: 2rem; flex-shrink: 0; }
.tip-text { font-size: .9rem; color: var(--muted-fg); line-height: 1.6; }

.install-cta { text-align: center; padding-top: 4rem; border-top: 1px solid var(--border); }
.install-cta svg { width: 3rem; height: 3rem; color: var(--secondary); margin: 0 auto 1.5rem; }

/* ── About page ─────────────────────────────────────────────── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar-card { padding: 2rem; border-radius: var(--radius-xl); border: 1px solid var(--border); text-align: center; }
.pillar-card.highlight { background: var(--primary); border-color: var(--primary); }
.pillar-num { font-size: 2.5rem; font-weight: 800; font-style: italic; color: var(--secondary); margin-bottom: 1rem; }
.pillar-card h3 { margin-bottom: .75rem; }
.pillar-card.highlight h3 { color: var(--white); }
.pillar-card.highlight p { color: rgba(255,255,255,.65); }
.pillar-card:not(.highlight) p { color: var(--muted-fg); font-size: .9rem; }

.about-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin: 4rem 0; }
.about-text p { color: var(--muted-fg); line-height: 1.8; margin-bottom: 1.25rem; }
.about-text strong { color: var(--primary); }
.about-img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; top: -10%; will-change: transform; }

.distinguishers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.dist-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.dist-num { font-size: 1.8rem; font-weight: 800; font-style: italic; color: var(--secondary); margin-bottom: .75rem; }
.dist-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.dist-card p { font-size: .85rem; color: var(--muted-fg); line-height: 1.55; }

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }
.contact-info-box { background: var(--primary); color: var(--white); border-radius: var(--radius-xl); padding: 2rem; }
.contact-info-box h3 { color: var(--white); margin-bottom: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--transition); }
.contact-info-item:last-child { margin-bottom: 0; }
a.contact-info-item:hover { color: var(--secondary); }
.ci-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 1.2rem; height: 1.2rem; color: var(--secondary); }
.ci-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: .25rem; }
.ci-value { font-weight: 700; font-size: 1rem; color: var(--white); }
.ci-sub { font-size: .8rem; color: var(--secondary); margin-top: .2rem; }

.map-placeholder { aspect-ratio: 16/9; background: linear-gradient(135deg, #e0dbd0, #ccc8be); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-top: 1.5rem; border: 1px solid var(--border); }
.map-placeholder::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,.6) 0%, rgba(255,255,255,.9) 100%); }
.map-placeholder span { position: relative; z-index: 1; font-weight: 700; color: rgba(31,33,48,.5); font-size: .95rem; }

/* Contact Form */
.contact-form-box { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-box h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-size: .9rem; color: var(--primary);
  background: var(--bg2); transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(239,200,91,.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: #dc2626; }
.form-error { font-size: .8rem; color: #dc2626; margin-top: .3rem; display: none; }
.form-group.error .form-error { display: block; }

.form-info-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem; font-size: .875rem; color: #1e40af; }
.form-info-box strong { color: #1d4ed8; }

.form-checkbox { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.25rem; }
.form-checkbox input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; margin-top: .15rem; cursor: pointer; }
.form-checkbox label { font-size: .875rem; color: var(--muted-fg); line-height: 1.55; cursor: pointer; }
.form-checkbox.error { border-color: #dc2626; }

.form-success { display: none; text-align: center; padding: 4rem 2rem; }
.form-success.visible { display: block; }
.form-success-icon { width: 80px; height: 80px; background: rgba(239,200,91,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.form-success-icon svg { width: 2.5rem; height: 2.5rem; color: var(--secondary); }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { color: var(--muted-fg); margin-bottom: 1.5rem; }

/* ── Privacy Policy page ────────────────────────────────────── */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h3 { font-size: 1.2rem; margin: 2.5rem 0 .75rem; color: var(--primary); }
.policy-content p { color: var(--muted-fg); line-height: 1.75; margin-bottom: .75rem; }
.policy-content ul { margin: .75rem 0 .75rem 1.5rem; }
.policy-content ul li { color: var(--muted-fg); line-height: 1.6; margin-bottom: .4rem; list-style: disc; }
.policy-content a { color: var(--secondary); text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--primary); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { height: 30px; width: auto; margin-bottom: 1.25rem; }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.65; max-width: 260px; }
.footer-col h4 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary); }
.footer-contact-items { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--transition); }
a.footer-contact-item:hover { color: var(--secondary); }
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--secondary); flex-shrink: 0; margin-top: .15rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── Cookie Banner ──────────────────────────────────────────── */
#cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px rgba(0,0,0,.1); padding: 1.25rem 0;
}
#cookie-banner.visible { display: block; }
.cookie-main { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.cookie-text h3 { font-size: 1rem; margin-bottom: .25rem; }
.cookie-text p { font-size: .85rem; color: var(--muted-fg); }
.cookie-text a { color: var(--secondary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: .6rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn { padding: .5rem 1.1rem; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: 1px solid transparent; }
.cookie-btn-outline { background: transparent; border-color: var(--border); color: var(--primary); }
.cookie-btn-outline:hover { background: var(--bg2); }
.cookie-btn-primary { background: var(--primary); color: var(--white); }
.cookie-btn-primary:hover { background: #2d3149; }

.cookie-prefs { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cookie-prefs.visible { display: block; }
.cookie-prefs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cookie-prefs-header h3 { font-size: 1rem; }
.cookie-prefs-items { display: flex; flex-direction: column; gap: .75rem; }
.cookie-pref-item { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.cookie-pref-item h4 { font-size: .9rem; }
.cookie-pref-item p { font-size: .8rem; color: var(--muted-fg); }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 42px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--muted); border-radius: 24px; transition: .3s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: .3s; }
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle input:disabled + .toggle-slider { opacity: .6; cursor: not-allowed; }
.toggle input:checked:disabled + .toggle-slider { background: var(--muted-fg); }

.cookie-prefs-footer { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1rem; }
.btn-back { background: transparent; border: none; font-size: .85rem; color: var(--muted-fg); cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 600; padding: .4rem .75rem; border-radius: 4px; }
.btn-back:hover { color: var(--primary); }

/* ── Mobile Floating Button ─────────────────────────────────── */
#floating-phone {
  display: none; position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%; background: var(--secondary);
  align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(239,200,91,.45);
  color: var(--white); text-decoration: none; transition: transform var(--transition), box-shadow var(--transition);
}
#floating-phone svg { width: 1.4rem; height: 1.4rem; }
#floating-phone:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(239,200,91,.6); }

/* ── Page Header ────────────────────────────────────────────── */
.page-header { padding: 7rem 0 3rem; }
.page-header.center { text-align: center; }

/* ── Inline SVG icons ───────────────────────────────────────── */
.icon { display: inline-block; vertical-align: middle; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .step::after { display: none; }
  .offer-section, .offer-section.reverse { flex-direction: column; }
  .offer-img-wrap { width: 100%; }
  .tech-box-grid, .about-content-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .windows-cards { grid-template-columns: 1fr; gap: 1rem; }
  .pillars-grid, .distinguishers-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  #floating-phone { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .steps-grid, .process-steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pillars-grid, .distinguishers-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .parallax-banner { height: 340px; background-attachment: scroll; }
  .cookie-main { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn-lg { padding: .9rem 1.5rem; }
  .cta-buttons { flex-direction: column; }
}

/* ============================================================
   Refinements: 1440px site shell + closer visual match to mockups
   ============================================================ */
:root {
  --site-width: 1440px;
  --container: 1280px;
  --bg: #fbfaf7;
  --bg2: #f3f0ea;
  --primary: #1f2229;
  --secondary: #efc85b;
  --border: #e7e1d7;
  --shadow: 0 2px 14px rgba(31,34,41,.08);
  --shadow-lg: 0 12px 34px rgba(31,34,41,.14);
  --radius: .55rem;
  --radius-lg: .65rem;
  --radius-xl: 1rem;
}

html { background: #efede8; }
body {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  background: var(--bg);
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(31,34,41,.04), 0 18px 55px rgba(31,34,41,.08);
}

.container {
  max-width: var(--container);
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.site-header {
  left: 50%;
  right: auto;
  width: min(100%, var(--site-width));
  transform: translateX(-50%);
  padding: .9rem 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.site-header.scrolled { padding: .55rem 0; }
.header-inner { gap: 2.75rem; min-height: 44px; }
.header-logo img { height: 36px; }
.header-nav { gap: 2.15rem; }
.header-nav a { font-size: .92rem; font-weight: 500; color: rgba(31,34,41,.75); }
.header-actions { gap: 1.25rem; }
.header-phone { font-size: .9rem; color: rgba(31,34,41,.78); }
.header-actions .btn { padding: .72rem 1.45rem; border-radius: 0; background: var(--primary); }

#cookie-banner,
#floating-phone { max-width: var(--site-width); }

.hero { min-height: 690px; height: min(92vh, 760px); padding-top: 72px; }
.hero-bg img { height: 105%; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(20,23,29,.80) 0%, rgba(20,23,29,.62) 46%, rgba(20,23,29,.18) 100%);
}
.hero-inner { padding: 3.5rem 0 4rem; }
.hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(360px, .9fr); gap: 4rem; }
.hero-title { font-size: clamp(3.05rem, 5.15vw, 4.45rem); letter-spacing: -.04em; line-height: 1.26; margin-bottom: 1.6rem; }
.hero-title em { color: var(--secondary); font-weight: 800; }
.hero-text { max-width: 690px; font-size: 1.18rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.hero-buttons { gap: 1rem; }
.hero-buttons .btn { min-width: 184px; justify-content: center; border-radius: 0; }
.hero-card {
  max-width: 488px;
  margin-left: auto;
  padding: 2.1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 24px 70px rgba(0,0,0,.24);
}
.hero-card h3 { font-size: 1.55rem; font-weight: 500; }
.hero-card p { font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.78); }
.hero-contact-link { min-height: 76px; border-radius: .45rem; background: rgba(255,255,255,.13); }
.hero-contact-icon { width: 46px; height: 46px; background: var(--secondary); }

.feature-bar { padding: 1.05rem 0; }
.feature-bar-inner { min-height: 42px; gap: 1.9rem 2.8rem; }
.feature-item { font-size: 1rem; }
.feature-item svg { width: .95rem; height: .95rem; border: 1px solid currentColor; border-radius: 50%; padding: 2px; }

.section { padding: 5.2rem 0; }
.section-header { margin-bottom: 2.8rem; }
.section-label { color: var(--secondary); letter-spacing: .14em; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3vw, 2.65rem); }
.lead { color: #686b78; }

.service-grid { gap: 1.5rem; }
.service-card { border-radius: .55rem; box-shadow: 0 2px 8px rgba(31,34,41,.10); }
.service-card-img { height: 190px; background: var(--bg2); }
.service-card-body { padding: 1.45rem 1.5rem 1.65rem; min-height: 165px; }
.service-card-body h3 { font-size: 1.25rem; }
.service-card-body p { font-size: .92rem; line-height: 1.45; color: #666a78; }
.service-card-body a { font-size: .92rem; }

.parallax-banner { height: 500px; background-attachment: fixed; background-size: cover; background-position: center center; }
.parallax-banner-overlay { background: rgba(31,34,41,.72); }
.parallax-banner-content h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 3rem); }

.section--dark { background: #20232a; }
.steps-grid { gap: 3rem; }
.step-num { color: var(--secondary); opacity: .58; font-weight: 500; }
.testimonial-card { border-radius: .75rem; min-height: 265px; }
.cta-box { max-width: 896px; margin: 0 auto; background: #f7f4ef; border-radius: 1.35rem; padding: 4rem 3rem; }
.cta-box h2 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; }
.cta-buttons .btn { border-radius: 0; }

.cta-box--simple {
  max-width: 760px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 0 0;
}
.cta-box--simple h2 {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-box--simple p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #676b79;
  font-size: 1.04rem;
  line-height: 1.65;
}
.cta-box--simple .cta-buttons {
  justify-content: center;
}
.cta-box--simple .btn {
  min-width: 220px;
  justify-content: center;
}

.page-header { padding-top: 8rem; }
.offer-section { gap: 4.5rem; }
.offer-img-wrap,
.about-img,
.map-placeholder,
.contact-info-box,
.contact-form-box,
.tech-box,
.process-box,
.pillar-card,
.dist-card,
.window-card,
.layer-card,
.process-step { border-radius: var(--radius-xl); }
.site-footer { padding-top: 4.8rem; }
.footer-grid { gap: 3rem; }
.footer-logo { height: 34px; }

@media (min-width: 1441px) {
  .site-header { border-left: 1px solid rgba(31,34,41,.05); border-right: 1px solid rgba(31,34,41,.05); }
}

@media (max-width: 1024px) {
  body { box-shadow: none; }
  .hero { min-height: 680px; height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .container { padding-left: 1.1rem; padding-right: 1.1rem; }
  .site-header { padding: .75rem 0; }
  .header-logo img { height: 32px; }
  .hero { min-height: 620px; padding-top: 66px; }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.2rem); line-height: 1.12; }
  .hero-text { font-size: 1rem; }
  .feature-bar-inner { justify-content: flex-start; gap: .85rem 1.5rem; }
  .feature-item { font-size: .9rem; }
  .section { padding: 4rem 0; }
  .testimonial-card { min-height: auto; }
}

/* ============================================================
   Layout fix: full-bleed page, 1440px content center
   ============================================================ */
:root {
  --site-width: none;
  --container: 1440px;
}

html {
  background: var(--bg);
}

body {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--bg);
  box-shadow: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.site-header {
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  max-width: none;
}

.hero,
.feature-bar,
.section,
.parallax-banner,
.site-footer,
#cookie-banner {
  width: 100%;
  max-width: none;
}

#floating-phone {
  max-width: none;
}

@media (min-width: 1441px) {
  .site-header {
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

/* ============================================================
   Final global layout: full-width sections, 1440px centered content
   Applies to every subpage: oferta, okna, montaz, o-nas, kontakt, policy
   ============================================================ */
:root { --container: 1440px; }

html,
body {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  box-shadow: none;
}

.site-header,
.hero,
.feature-bar,
.page-header,
.section,
.section--alt,
.section--dark,
.parallax-banner,
.site-footer,
#cookie-banner,
.mobile-nav {
  width: 100%;
  max-width: none;
}

.site-header {
  left: 0;
  right: 0;
  transform: none;
}

.container,
.site-header > .container,
.hero-inner > .container,
.feature-bar > .container,
.page-header > .container,
.section > .container,
.site-footer > .container,
#cookie-banner > .container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Keep backgrounds full-bleed on subpages while content stays centered */
.page-header,
.section,
.section--alt,
.section--dark,
.site-footer {
  position: relative;
}

/* Wider desktop grids now use the 1440px content area nicely */
.offer-section,
.about-content-grid,
.contact-grid,
.grid-2 {
  max-width: 100%;
}

@media (max-width: 768px) {
  .container,
  .site-header > .container,
  .hero-inner > .container,
  .feature-bar > .container,
  .page-header > .container,
  .section > .container,
  .site-footer > .container,
  #cookie-banner > .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}


/* ============================================================
   Subpage polish: Kontakt + O nas, full-width backgrounds with 1440px center
   ============================================================ */
.about-page,
.contact-page {
  background: var(--bg);
}

.about-page .container,
.contact-page .container {
  max-width: 1440px;
}

.about-hero {
  padding-top: 7.9rem;
  padding-bottom: 4.2rem;
  background: var(--bg);
}

.about-hero-copy {
  max-width: 1280;
  margin: 0 auto 4.3rem;
  text-align: center;
}

.about-hero-copy h1 {
  font-size: clamp(3rem, 5.2vw, 4.95rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  margin-top: .7rem;
  margin-bottom: 1.55rem;
}

.about-hero-copy .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.07rem;
  line-height: 1.75;
}

.about-wide-image {
  position: relative;
  overflow: hidden;
  border-radius: 1.05rem;
  min-height: 430px;
  max-width: 1280px;
  margin: 0 auto 6rem;
  box-shadow: 0 14px 38px rgba(31,34,41,.10);
}

.about-wide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,23,29,.76) 0%, rgba(20,23,29,.45) 46%, rgba(20,23,29,.12) 100%);
}

.about-wide-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.about-wide-overlay {
  position: absolute;
  z-index: 1;
  left: 4.2rem;
  bottom: 4.5rem;
  color: var(--white);
  max-width: 850px;
}

.about-wide-overlay span {
  display: block;
  margin-bottom: .7rem;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .76rem;
}

.about-wide-overlay h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.about-value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: 2.15rem 2rem;
  min-height: 230px;
  text-align: center;
  box-shadow: 0 3px 18px rgba(31,34,41,.05);
}

.about-value-card.dark {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.about-value-num {
  margin-bottom: .75rem;
  color: var(--secondary);
  font-size: 1.8rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.about-value-card h3 {
  margin-bottom: .65rem;
  font-size: 1.12rem;
}

.about-value-card.dark h3,
.about-value-card.dark p {
  color: var(--white);
}

.about-value-card p {
  color: var(--muted-fg);
  font-size: .9rem;
  line-height: 1.65;
}

.about-audience {
  padding-top: 2.4rem;
  padding-bottom: 5.2rem;
  background: var(--bg);
}

.about-audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 5rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.about-audience-text h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.about-audience-text p {
  margin-bottom: 1.15rem;
  color: var(--muted-fg);
  line-height: 1.72;
}

.about-audience-text strong {
  color: var(--primary);
}

.about-audience-text .btn {
  margin-top: .75rem;
  border-radius: .25rem;
}

.about-audience-img {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(31,34,41,.10);
}

.about-audience-img img {
  width: 100%;
  min-height: 410px;
  object-fit: cover;
}

.about-different {
  padding-top: 3rem;
  padding-bottom: 5.8rem;
}

.about-different-box {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.1rem 4rem;
  border-radius: 1rem;
  background: #f4f1ec;
}

.about-different-box .section-header {
  margin-bottom: 2.6rem;
}

.about-different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.45rem;
}

.about-different-grid article {
  padding: 1.65rem 1.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: .55rem;
  min-height: 150px;
}

.about-different-grid span {
  display: block;
  margin-bottom: .8rem;
  color: var(--secondary);
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
}

.about-different-grid h3 {
  margin-bottom: .5rem;
  font-size: 1rem;
}

.about-different-grid p {
  color: var(--muted-fg);
  font-size: .86rem;
  line-height: 1.58;
}

.contact-page {
  padding-top: 7.6rem;
  padding-bottom: 6rem;
  background: var(--bg2);
  min-height: calc(100vh - var(--header-h));
}

.contact-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-shell > .fade-in:first-child {
  max-width: 860px;
  margin-bottom: 3.4rem !important;
}

.contact-shell h1 {
  font-size: clamp(3.1rem, 5vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin-bottom: 1.1rem;
}

.contact-shell .lead {
  max-width: 760px !important;
  font-size: 1.13rem;
  line-height: 1.7;
}

.contact-page .contact-grid {
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.contact-page .contact-info-box {
  padding: 2.5rem 2.35rem;
  border-radius: 1.25rem;
  box-shadow: 0 14px 36px rgba(31,34,41,.14);
}

.contact-page .contact-info-box h3,
.contact-page .contact-form-box h3 {
  font-size: 1.65rem;
  margin-bottom: 2rem;
}

.contact-page .contact-info-item {
  gap: 1.15rem;
  margin-bottom: 1.95rem;
}

.contact-page .ci-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.11);
}

.contact-page .ci-value {
  font-size: 1.05rem;
}

.contact-page .map-placeholder {
  min-height: 260px;
  border-radius: 1.1rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, #e8eff6, #d5e0eb);
}

.contact-page .map-placeholder span::before {
  content: '⌖';
  display: block;
  margin: 0 auto .35rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(31,34,41,.18);
}

.contact-page .contact-form-box {
  padding: 3rem 3rem 3.25rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(31,34,41,.08);
}

.contact-page .form-row {
  gap: 1.5rem;
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
  min-height: 48px;
  background: #f8f6f2;
  border-color: #ded8ce;
  box-shadow: inset 0 1px 2px rgba(31,34,41,.04);
}

.contact-page .form-group textarea {
  min-height: 150px;
}

.contact-page .form-info-box {
  padding: 1.15rem 1.25rem;
  border-radius: .75rem;
}

.contact-page .form-checkbox {
  padding: 1.15rem 1.25rem;
  border-radius: .35rem;
  background: var(--white);
  border: 1px solid var(--primary);
}

.contact-page .btn-full {
  min-height: 56px;
  justify-content: center;
  border-radius: .3rem;
  font-size: 1rem;
}

@media (min-width: 1440px) {
  .about-page .container,
  .contact-page .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (max-width: 1100px) {
  .about-values-grid,
  .about-different-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-audience-grid,
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    max-width: 1280;
  }
}

@media (max-width: 768px) {
  .about-hero,
  .contact-page {
    padding-top: 6.3rem;
  }

  .about-hero-copy {
    margin-bottom: 2.8rem;
  }

  .about-wide-image {
    min-height: 320px;
    margin-bottom: 3rem;
  }

  .about-wide-image img {
    min-height: 320px;
  }

  .about-wide-overlay {
    left: 1.4rem;
    right: 1.4rem;
    bottom: 2rem;
  }

  .about-values-grid,
  .about-different-grid {
    grid-template-columns: 1fr;
  }

  .about-audience-grid {
    gap: 2.5rem;
  }

  .about-different-box,
  .contact-page .contact-form-box,
  .contact-page .contact-info-box {
    padding: 2rem 1.25rem;
  }

  .contact-page .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   FINAL FIX: wszystkie podstrony - srodek 1440px, bez dodatkowego
   zwezania i centrowania wewnetrznych blokow. Elementy strony
   startuja w tej samej linii co logo w headerze.
   ============================================================ */
:root { --container: 1440px; }

.container,
.site-header > .container,
.hero-inner > .container,
.feature-bar > .container,
.page-header > .container,
.section > .container,
.site-footer > .container,
#cookie-banner > .container,
.about-page .container,
.contact-page .container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Usuniecie dodatkowych wewnetrznych ograniczen 1280px na podstronach */
.contact-shell,
.about-wide-image,
.about-values-grid,
.about-audience-grid,
.about-different-box,
.offer-section,
.about-content-grid,
.contact-grid,
.grid-2,
.grid-3,
.grid-4 {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Kontakt: uklad wypelnia kontener 1440px i zaczyna sie w linii z logo */
.contact-page {
  padding-top: 7.6rem;
}
.contact-shell > .fade-in:first-child {
  max-width: 860px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.contact-page .contact-grid {
  width: 100%;
  grid-template-columns: minmax(380px, 470px) minmax(0, 1fr);
  gap: 4rem;
}

/* O nas: szerokie elementy ida do pelnej szerokosci kontenera 1440px */
.about-hero-copy {
  max-width: 1280;
}
.about-wide-image {
  margin-bottom: 6rem;
}
.about-audience-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: 5rem;
}
.about-different-box {
  padding: 4.1rem 4rem;
}

@media (min-width: 1440px) {
  .about-page .container,
  .contact-page .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-grid,
  .about-audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container,
  .site-header > .container,
  .hero-inner > .container,
  .feature-bar > .container,
  .page-header > .container,
  .section > .container,
  .site-footer > .container,
  #cookie-banner > .container,
  .about-page .container,
  .contact-page .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

/* ============================================================
   FINAL CONTACT POLISH: pelna szerokosc tla, tresc 1440px w linii z logo
   ============================================================ */
.contact-page.section {
  padding: 8.25rem 0 6.5rem;
  background:
    radial-gradient(circle at 16% 6%, rgba(239,200,91,.08), transparent 30rem),
    linear-gradient(180deg, #faf9f6 0%, #f2eee7 100%);
}

.contact-page > .container {
  max-width: 1440px !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.contact-shell {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 850px) 260px;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 3.75rem !important;
}

.contact-intro-copy h1,
.contact-shell h1 {
  max-width: 880px;
  font-size: clamp(3.25rem, 5vw, 5.4rem) !important;
  line-height: .98 !important;
  letter-spacing: -.06em;
  margin: 0 0 1.25rem !important;
}

.contact-intro-copy .lead,
.contact-shell .lead {
  max-width: 780px !important;
  font-size: 1.18rem !important;
  line-height: 1.72 !important;
  color: #686b7a;
}

.contact-intro-card {
  justify-self: end;
  min-width: 240px;
  padding: 1.45rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 45px rgba(31,33,48,.08);
}

.contact-intro-card span,
.contact-intro-card small {
  display: block;
  color: var(--muted-fg);
  font-size: .9rem;
}

.contact-intro-card strong {
  display: block;
  margin: .1rem 0;
  color: var(--primary);
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: -.05em;
}

.contact-page .contact-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(430px, 520px) minmax(0, 1fr) !important;
  gap: 4.5rem !important;
  align-items: start;
}

.contact-page .contact-info-box {
  padding: 3rem !important;
  border-radius: 1.35rem !important;
  background: #1f2229;
  box-shadow: 0 24px 70px rgba(31,33,48,.16);
}

.contact-page .contact-info-box h3,
.contact-page .contact-form-box h3 {
  font-size: 1.85rem !important;
  letter-spacing: -.025em;
}

.contact-page .contact-info-item {
  padding: .25rem 0;
  gap: 1.25rem !important;
  color: rgba(255,255,255,.68) !important;
}

.contact-page .ci-icon {
  width: 50px !important;
  height: 50px !important;
  color: var(--secondary);
  background: rgba(255,255,255,.09) !important;
}

.contact-page .ci-label {
  color: rgba(255,255,255,.54);
}

.contact-page .ci-value {
  color: var(--white);
  font-weight: 800;
}

.contact-page .ci-sub {
  color: var(--secondary);
  font-size: .85rem;
  margin-top: .2rem;
}

.contact-page .map-placeholder {
  min-height: 300px !important;
  margin-top: 2rem !important;
  border-radius: 1.35rem !important;
  background:
    linear-gradient(rgba(231,238,246,.8), rgba(231,238,246,.8)),
    radial-gradient(circle at 50% 45%, rgba(31,33,48,.12), transparent 10rem);
  border: 1px solid #d6dde6;
  box-shadow: 0 16px 42px rgba(31,33,48,.07);
}

.contact-page .contact-form-box {
  padding: 3.25rem 3.5rem 3.5rem !important;
  border-radius: 1.35rem !important;
  border: 1px solid rgba(224,219,208,.95) !important;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 70px rgba(31,33,48,.10) !important;
}

.contact-page .form-row {
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem !important;
  margin-bottom: 1.35rem;
}

.contact-page .form-group {
  margin-bottom: 1.35rem;
}

.contact-page .form-group label {
  margin-bottom: .55rem;
  font-weight: 700;
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
  min-height: 54px !important;
  border-radius: .55rem !important;
  background: #fbfaf8 !important;
  border: 1px solid #ddd6cb !important;
  font-size: .95rem;
}

.contact-page .form-group textarea {
  min-height: 170px !important;
}

.contact-page .form-info-box {
  margin-top: .2rem;
  margin-bottom: 1.45rem !important;
  padding: 1.25rem 1.35rem !important;
  border-radius: .8rem !important;
}

.contact-page .form-checkbox {
  margin-bottom: 1.5rem !important;
  padding: 1.2rem 1.35rem !important;
  border-radius: .55rem !important;
}

.contact-page .btn-full {
  min-height: 60px !important;
  font-size: 1.05rem !important;
  border-radius: .35rem !important;
}

@media (min-width: 1441px) {
  .contact-page > .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (max-width: 1180px) {
  .contact-intro {
    grid-template-columns: 1fr;
  }
  .contact-intro-card {
    justify-self: start;
  }
  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .contact-page.section {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }
  .contact-page > .container {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }
  .contact-intro {
    margin-bottom: 2.4rem !important;
  }
  .contact-intro-copy h1,
  .contact-shell h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem) !important;
  }
  .contact-intro-card {
    width: 100%;
  }
  .contact-page .contact-info-box,
  .contact-page .contact-form-box {
    padding: 2rem 1.25rem !important;
  }
  .contact-page .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}


/* ============================================================
   CONTACT HERO MATCH FIX - closer to provided screenshot
   ============================================================ */
.contact-page.section {
  padding: 6.95rem 0 6rem !important;
  background: #f5f2ee !important;
}

.contact-page > .container {
  max-width: 1440px !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.contact-shell {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}

.contact-intro {
  display: block !important;
  max-width: 840px;
  margin: 0 0 2.7rem !important;
}

.contact-intro-copy,
.contact-intro-card,
.contact-intro .eyebrow {
  display: none !important;
}

.contact-intro h1,
.contact-shell h1 {
  max-width: none !important;
  font-size: clamp(3.6rem, 5.2vw, 5rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
  margin: 0 0 1rem !important;
  color: var(--primary) !important;
}

.contact-intro .lead,
.contact-shell .lead {
  max-width: 1280 !important;
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
  color: #676b7b !important;
  margin: 0 !important;
}

.contact-page .contact-grid {
  display: grid !important;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr) !important;
  gap: 2.5rem !important;
  align-items: start;
}

@media (max-width: 1180px) {
  .contact-intro {
    max-width: 100%;
  }
  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .contact-page.section {
    padding: 6.15rem 0 4rem !important;
  }
  .contact-page > .container {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }
  .contact-intro h1,
  .contact-shell h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem) !important;
    line-height: 1.05 !important;
  }
  .contact-intro .lead,
  .contact-shell .lead {
    font-size: 1rem !important;
    max-width: 100% !important;
  }
}


/* ============================================================
   MAP PLACEHOLDER FIX - match provided screenshot more closely
   ============================================================ */
.contact-page .map-placeholder {
  position: relative;
  min-height: 240px !important;
  margin-top: 2rem !important;
  border-radius: 1.6rem !important;
  background: #e8eef5 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page .map-placeholder::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -52%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.contact-page .map-placeholder span {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: #626978;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.contact-page .map-placeholder span::before {
  content: none !important;
}

@media (max-width: 768px) {
  .contact-page .map-placeholder {
    min-height: 210px !important;
    border-radius: 1.25rem !important;
  }
  .contact-page .map-placeholder::before {
    width: 58px;
    height: 58px;
  }
}


/* ============================================================
   ABOUT IMAGE HEIGHT FIX - lower hero image like reference
   ============================================================ */
.about-wide-image {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 2.48 / 1;
  max-height: 520px;
  border-radius: 1.7rem !important;
  overflow: hidden;
}

.about-wide-image img {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
}

.about-wide-overlay {
  left: 3.9rem !important;
  bottom: 3.6rem !important;
  max-width: 760px;
}

.about-wide-overlay span {
  margin-bottom: .8rem;
  font-size: .82rem;
  letter-spacing: .12em;
}

.about-wide-overlay h2 {
  font-size: clamp(2rem, 3vw, 2.95rem) !important;
  line-height: 1.14 !important;
}

@media (max-width: 1100px) {
  .about-wide-image {
    aspect-ratio: 2.15 / 1;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .about-wide-image {
    aspect-ratio: 1.65 / 1;
    border-radius: 1.15rem !important;
  }

  .about-wide-overlay {
    left: 1.5rem !important;
    right: 1.5rem !important;
    bottom: 1.8rem !important;
    max-width: none;
  }

  .about-wide-overlay h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem) !important;
    line-height: 1.16 !important;
  }
}


/* ============================================================
   MONTAZ PAGE - redesigned to match provided reference
   ============================================================ */
.montaz-page {
  background: var(--bg);
}

.montaz-hero {
  padding-top: 7.4rem;
  padding-bottom: 3rem;
}

.montaz-hero-copy {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.montaz-hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: .45rem 0 1.1rem;
}

.montaz-hero-copy .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.72;
}

.montaz-method {
  padding-top: 1.2rem;
  padding-bottom: 4.8rem;
}

.montaz-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 3.6rem;
  align-items: center;
}

.montaz-photo {
  border-radius: 1.65rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 14px 36px rgba(31,34,41,.08);
}

.montaz-photo img,
.montaz-prep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.montaz-method-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.montaz-method-copy > p {
  color: var(--muted-fg);
  line-height: 1.74;
  margin-bottom: 1.6rem;
}

.montaz-layers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.montaz-layer-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: .8rem;
  box-shadow: 0 2px 14px rgba(31,34,41,.04);
}

.montaz-layer-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
}

.montaz-layer-card.first .montaz-layer-num {
  background: var(--secondary);
}

.montaz-layer-card h4 {
  font-size: 1rem;
  margin-bottom: .38rem;
}

.montaz-layer-card p {
  font-size: .92rem;
  color: var(--muted-fg);
  line-height: 1.6;
}

.montaz-steps {
  padding-top: 1.2rem;
  padding-bottom: 4.8rem;
}

.montaz-steps-box {
  padding: 3.3rem 2.2rem 2.35rem;
  border-radius: 1.6rem;
  background: #f1eee8;
}

.montaz-steps-box .section-header {
  margin-bottom: 2.2rem;
}

.montaz-steps-box h2 {
  margin-bottom: .55rem;
}

.montaz-steps-box .lead {
  font-size: 1rem;
}

.montaz-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.montaz-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.45rem 1.1rem 1.35rem;
  text-align: center;
  box-shadow: 0 3px 15px rgba(31,34,41,.04);
}

.montaz-step-num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  margin: 0 auto .9rem;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
}

.montaz-step-card h4 {
  font-size: 1rem;
  margin-bottom: .45rem;
}

.montaz-step-card p {
  color: var(--muted-fg);
  font-size: .82rem;
  line-height: 1.55;
}

.montaz-prep {
  padding-top: 1.8rem;
  padding-bottom: 4.8rem;
}

.montaz-prep-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.montaz-prep-copy h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  margin-bottom: 1.5rem;
}

.montaz-prep-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.montaz-prep-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
}

.montaz-prep-item span {
  color: var(--secondary);
  font-weight: 800;
  font-size: .85rem;
  line-height: 1.6;
}

.montaz-prep-item p {
  color: var(--muted-fg);
  font-size: .95rem;
  line-height: 1.72;
}

.montaz-prep-photo {
  border-radius: 1.55rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 14px 36px rgba(31,34,41,.08);
}

.montaz-closing {
  padding-top: 1.2rem;
  padding-bottom: 5rem;
}

.montaz-closing-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.montaz-closing-line {
  width: 48%;
  max-width: 560px;
  height: 1px;
  margin: 0 auto 2rem;
  background: var(--border);
}

.montaz-closing-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.3rem;
  border: 2px solid rgba(239,200,91,.4);
  border-radius: 999px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.montaz-closing-icon svg {
  width: 20px;
  height: 20px;
}

.montaz-closing-box h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.montaz-closing-box p {
  max-width: 700px;
  margin: 0 auto 1.7rem;
  color: var(--muted-fg);
  line-height: 1.76;
}

@media (max-width: 1100px) {
  .montaz-method-grid,
  .montaz-prep-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .montaz-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .montaz-hero {
    padding-top: 6.3rem;
    padding-bottom: 2rem;
  }

  .montaz-hero-copy h1 {
    font-size: clamp(2.4rem, 10vw, 3.25rem);
  }

  .montaz-method,
  .montaz-steps,
  .montaz-prep,
  .montaz-closing {
    padding-bottom: 3.5rem;
  }

  .montaz-photo,
  .montaz-prep-photo {
    aspect-ratio: 4 / 3;
    border-radius: 1.1rem;
  }

  .montaz-steps-box {
    padding: 2rem 1.1rem 1.2rem;
    border-radius: 1.1rem;
  }

  .montaz-steps-grid {
    grid-template-columns: 1fr;
  }

  .montaz-prep-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .montaz-closing-line {
    width: 70%;
  }
}


.cta-section-simple {
  padding-top: 4.1rem;
  padding-bottom: 5.25rem;
  background: #f7f5f1;
}

.cta-section-simple .container {
  max-width: 1440px;
}

.cta-section-simple .cta-box--simple {
  max-width: 780px;
  padding-top: 0;
}

.cta-section-simple .cta-box--simple h2 {
  font-size: clamp(2.05rem, 3.15vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section-simple .cta-box--simple p {
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.62;
  margin: 0 auto 2.15rem;
}

.cta-section-simple .cta-box--simple .btn {
  min-width: 265px;
  min-height: 56px;
  padding: 0.95rem 2.2rem;
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  .cta-section-simple {
    padding-top: 3.1rem;
    padding-bottom: 4rem;
  }

  .cta-section-simple .cta-box--simple h2 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }

  .cta-section-simple .cta-box--simple p {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .cta-section-simple .cta-box--simple .btn {
    min-width: 235px;
    min-height: 52px;
  }
}


/* ============================================================
   OFERTA PAGE — redesign closer to provided screenshot
   ============================================================ */
.offer-page {
  background: var(--bg);
}

.offer-hero {
  padding-top: 7.6rem;
  padding-bottom: 2.2rem;
  text-align: left;
}

.offer-hero .container {
  max-width: 1440px;
}

.offer-hero-copy {
  max-width: 760px;
}

.offer-hero .section-label {
  display: inline-block;
  margin-bottom: .9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
}

.offer-hero h1 {
  font-size: clamp(3rem, 5vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin-bottom: 1.15rem;
}

.offer-hero .lead {
  max-width: 700px;
  font-size: 1.06rem;
  line-height: 1.72;
}

.offer-sections {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.offer-sections > .container {
  display: flex;
  flex-direction: column;
  gap: 4.4rem;
}

.offer-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .96fr);
  gap: 3.4rem;
  align-items: center;
}

.offer-entry.reverse {
  grid-template-columns: minmax(420px, .96fr) minmax(0, 1fr);
}

.offer-entry.reverse .offer-entry-media {
  order: 2;
}

.offer-entry.reverse .offer-entry-content {
  order: 1;
}

.offer-entry-media {
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 1.28 / 1;
  background: #ddd;
}

.offer-entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-entry-content {
  max-width: 560px;
}

.offer-entry-kicker {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .76rem;
  font-weight: 700;
}

.offer-entry-content h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.offer-entry-content p {
  color: #666b78;
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
}

.offer-entry-list {
  display: flex;
  flex-direction: column;
  gap: .72rem;
  margin-bottom: 1.5rem;
}

.offer-entry-list li {
  position: relative;
  padding-left: 2.1rem;
  color: #6a6f7e;
  font-size: .96rem;
  line-height: 1.55;
  min-height: 1.35rem;
}

.offer-entry-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .16rem;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8.25' stroke='%23efc85b' stroke-width='1.7'/%3E%3Cpath d='M6.2 10.2l2.45 2.45L13.9 7.7' stroke='%23efc85b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.offer-entry-action {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.offer-entry-action .btn {
  min-width: 0;
  padding: .7rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  border-width: 1px;
  border-radius: 0;
  gap: .45rem;
}

.offer-entry-action .btn:hover {
  background: var(--primary);
  color: var(--white);
}

.offer-bottom-cta {
  padding-top: 2.2rem;
  padding-bottom: 4.4rem;
}

.offer-bottom-cta .cta-box {
  max-width: 940px;
}

@media (max-width: 1100px) {
  .offer-entry,
  .offer-entry.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .offer-entry.reverse .offer-entry-media,
  .offer-entry.reverse .offer-entry-content {
    order: initial;
  }

  .offer-entry-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .offer-hero {
    padding-top: 6.4rem;
    padding-bottom: 1.4rem;
  }

  .offer-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .offer-sections > .container {
    gap: 3rem;
  }

  .offer-entry-media {
    aspect-ratio: 4 / 3;
    border-radius: .95rem;
  }

  .offer-entry-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .offer-bottom-cta {
    padding-bottom: 3.5rem;
  }
}


/* Oferta bottom CTA + refreshed branding */
.offer-bottom-cta {
  padding: 2.4rem 0 4.8rem;
  background: var(--bg);
}

.offer-bottom-cta .container {
  max-width: 1440px;
}

.offer-bottom-cta-card {
  max-width: 100%;
  border-radius: 1.7rem;
  padding: 3.4rem 2rem 3.2rem;
  background: linear-gradient(90deg, #181d25 0%, #202530 100%);
  text-align: center;
  color: #fff;
}

.offer-bottom-cta-card h2 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.offer-bottom-cta-card p {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,.8);
  font-size: 1.03rem;
  line-height: 1.65;
}

.offer-bottom-cta-card .btn-secondary {
  min-width: 206px;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: none;
}

.offer-bottom-cta-card .btn-secondary:hover {
  transform: translateY(-2px);
  background: #f4d375;
}

@media (max-width: 768px) {
  .offer-bottom-cta {
    padding: 2rem 0 3.6rem;
  }

  .offer-bottom-cta-card {
    border-radius: 1.25rem;
    padding: 2.6rem 1.3rem 2.4rem;
  }

  .offer-bottom-cta-card h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}


/* ============================================================
   Footer refresh - applies globally across the whole site
   ============================================================ */
.site-footer {
  background: linear-gradient(90deg, #181d25 0%, #20242e 100%);
  color: #fff;
  padding: 5.2rem 0 1.9rem;
  margin-top: 0;
}

.site-footer > .container {
  max-width: 1440px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, .9fr) minmax(160px, .85fr) minmax(300px, 1.15fr);
  gap: 3.5rem 4.25rem;
  align-items: start;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 355px;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1.55rem;
}

.footer-col h4 {
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.footer-tagline {
  max-width: 320px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
}

.footer-big-logo-link {
  display: inline-flex;
  margin-top: 20px;
}

.footer-big-logo {
  display: block;
  width: 150px;
  height: 70px;
  object-fit: contain;
}

.footer-links {
  gap: .95rem;
}

.footer-links a {
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  line-height: 1.45;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-items {
  gap: 1.15rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  margin-top: .28rem;
  color: var(--secondary);
}

.footer-contact-copy {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}

.footer-contact-copy strong {
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.footer-contact-copy small {
  color: rgba(255,255,255,.5);
  font-size: .93rem;
  line-height: 1.4;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .84rem;
  color: rgba(255,255,255,.34);
}

.footer-bottom a {
  color: rgba(255,255,255,.34);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,.7);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 4rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.35rem;
  }

  .footer-logo {
    height: 46px;
    margin-bottom: 1.25rem;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   Homepage CTA refresh
   ============================================================ */
.home-cta-section {
  padding-top: 3.6rem;
  padding-bottom: 5.6rem;
  background: var(--bg);
}

.home-cta-card {
  max-width: 1280;
  margin: 0 auto;
  padding: 4.15rem 3rem 3.8rem;
  text-align: center;
  background: #f7f4ef;
  border: 1px solid #ddd7cf;
  border-radius: 1.55rem;
}

.home-cta-card h2 {
  max-width: 700px;
  margin: 0 auto 1.35rem;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.home-cta-card p {
  max-width: 780px;
  margin: 0 auto 2.25rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #6a6f7e;
}

.home-cta-buttons {
  gap: 1rem;
}

.home-cta-buttons .btn {
  min-width: 230px;
  justify-content: center;
  border-radius: 0;
  padding: 1rem 1.8rem;
}

.home-cta-buttons .btn-outline {
  border-width: 1px;
}

@media (max-width: 768px) {
  .home-cta-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .home-cta-card {
    padding: 2.5rem 1.35rem;
    border-radius: 1.15rem;
  }

  .home-cta-card h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .home-cta-card p {
    font-size: 1rem;
    margin-bottom: 1.85rem;
  }
}

/* Contact form server-side messages and anti-spam field */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-alert {
  border-radius: .75rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  line-height: 1.55;
}

.form-alert ul {
  margin: .45rem 0 0 1.2rem;
}

.form-alert-error {
  border: 1px solid rgba(180, 50, 50, .22);
  background: rgba(180, 50, 50, .08);
  color: #7a2424;
}

/* ── Uniform subtle button corners ────────────────────────────── */
.btn,
.cookie-btn,
.btn-back,
input[type="submit"],
input[type="button"],
button[type="submit"],
button[type="button"].btn {
  border-radius: .45rem !important;
}


/* ── WordPress / Baza wiedzy ───────────────────────────────── */
.blog-hero { padding: 9rem 0 4rem; background: var(--bg2); }
.blog-hero .lead { max-width: 720px; margin-top: 1rem; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3rem; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-thumb { display: block; width: 100%; aspect-ratio: 3 / 2; background: var(--muted); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 1.5rem; }
.post-card-meta { color: var(--secondary); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .65rem; }
.post-card h2, .post-card h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.post-card-title { font-size: 1.25rem; line-height: 1.35; margin-bottom: .8rem; }
.post-card-title a { color: var(--primary); display: inline-block; }
.post-card-title a:hover { color: var(--secondary); }
.post-card p { color: var(--muted-fg); margin-bottom: 1rem; }
.single-post-thumb { aspect-ratio: 3 / 2; }
.post-card-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 700; }
.posts-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.posts-pagination .page-numbers { padding: .65rem .9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-weight: 700; }
.posts-pagination .current { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.single-post-shell { max-width: 860px; margin: 0 auto; }
.single-post-meta { color: var(--secondary); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.single-post-content { margin-top: 2.5rem; color: var(--primary); }
.single-post-content > * + * { margin-top: 1.25rem; }
.single-post-content ul, .single-post-content ol { list-style: revert; padding-left: 1.5rem; }
.single-post-content a { color: var(--secondary); font-weight: 700; }
.wp-caption, .aligncenter { max-width: 100%; }
@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } .blog-hero { padding-top: 7rem; } }


/* Contact Form 7 - formularz kontaktowy */
.contact-form-box-cf7 .wpcf7,
.op-contact-form {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #111827;
}

.op-contact-form h2,
.contact-form-box-cf7 h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 800;
  color: #0f172a;
}

.op-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}

.op-form-field {
  margin-bottom: 20px;
}

.op-form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: #020617;
}

.op-contact-form .wpcf7-form-control-wrap {
  display: block;
}

/* Zmniejszone odstępy CF7 - nadpisuje domyślne marginesy Contact Form 7/WordPress */
.op-contact-form p {
  margin: 0;
}

.op-contact-form br,
.op-form-field br,
.op-form-info br,
.op-form-consent br {
  display: none;
}

.op-contact-form .wpcf7-form-control-wrap + br,
.op-contact-form label + br {
  display: none;
}

.op-contact-form .wpcf7-list-item-label {
  display: inline;
}

.op-contact-form input[type="text"],
.op-contact-form input[type="email"],
.op-contact-form input[type="tel"],
.op-contact-form select,
.op-contact-form textarea {
  width: 100%;
  min-height: 55px;
  padding: 15px 16px;
  border: 1px solid #ded3c4;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.op-contact-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

.op-contact-form input::placeholder,
.op-contact-form textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.op-contact-form input:focus,
.op-contact-form select:focus,
.op-contact-form textarea:focus {
  border-color: #f1be3e;
  box-shadow: 0 0 0 3px rgba(241, 190, 62, .18);
}

.op-form-field-full {
  margin-bottom: 20px;
}

.op-form-info {
  margin: 0 0 18px;
  padding: 16px 22px;
  border: 1px solid #a8ccff;
  border-radius: 10px;
  background: #edf5ff;
  color: #1d4ed8;
  font-size: 15px;
  line-height: 1.45;
}

.op-form-info strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 800;
  color: #1d4ed8;
}

.op-form-info a {
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: none;
}

.op-form-consent {
  margin: 0 0 20px;
  padding: 16px 21px;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}

.op-form-consent .wpcf7-list-item {
  margin: 0;
}

.op-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
}

.op-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: #1f2229;
}

.op-form-submit {
  margin-top: 14px;
}

.op-contact-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 0;
  background: #1f2229;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.op-contact-form input[type="submit"]:hover {
  background: #111827;
  transform: translateY(-1px);
}

.op-contact-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #dc2626;
}

.op-contact-form .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 15px 18px !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.op-contact-form .wpcf7-spinner {
  margin-left: 12px;
}

@media (max-width: 768px) {
  .op-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .op-contact-form h2,
  .contact-form-box-cf7 h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .op-form-field {
    margin-bottom: 18px;
  }
}
/* Wpis blogowy - wyśrodkowanie daty i tytułu */
.blog-hero .single-post-shell {
  text-align: center;
}

.blog-hero .single-post-meta {
  text-align: center;
  display: block;
}

.blog-hero .single-post-shell h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero .single-post-shell .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Polityka prywatności - szerokość jak pozostałe podstrony */
.policy-content {
  max-width: none !important;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.policy-content .lead {
  max-width: 900px;
}

/* Measurement, glass and addon sections */
.measurement-grid,
.glass-grid,
.addons-grid,
.measurement-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.measurement-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
}

.measurement-card,
.addon-card,
.guide-card,
.glass-grid article,
.measurement-example,
.measurement-warning {
  background: var(--white);
  border: 1px solid rgba(22, 28, 32, .08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.section--alt .measurement-card,
.section--alt .addon-card {
  background: rgba(255,255,255,.92);
}

.measurement-card span,
.guide-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.measurement-card h3,
.addon-card h3,
.glass-grid h3,
.guide-card h2 {
  margin-bottom: .65rem;
}

.addon-card p,
.glass-grid p,
.guide-card p,
.measurement-example p,
.measurement-warning p {
  color: rgba(31,33,48,.8);
}
.measurement-card p {
	color: rgba(31,33,48,.8);
}

.measurement-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--white);
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.measurement-note a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.glass-grid,
.addons-grid,
.measurement-guide-grid {
  margin-top: 2rem;
}

.measurement-example,
.measurement-warning {
  margin-top: 1.5rem;
}

.measurement-page .cta-box {
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .measurement-grid { grid-template-columns: repeat(2, 1fr); }
  .glass-grid,
  .addons-grid,
  .measurement-guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .measurement-grid,
  .glass-grid,
  .addons-grid,
  .measurement-guide-grid { grid-template-columns: 1fr; }
  .measurement-note { align-items: flex-start; }
}

/* Pomiar okien - odświeżony landing */
.measurement-page--redesign {
  background: var(--bg);
}

.measurement-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 4.5rem) 0 5rem;
  color: var(--white);
}

.measurement-hero-bg,
.measurement-hero-overlay {
  position: absolute;
  inset: 0;
}

.measurement-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.measurement-hero-overlay {
  background:
    radial-gradient(circle at 78% 22%, rgba(239, 200, 91, .35), transparent 30%),
    linear-gradient(90deg, rgba(31, 33, 48, .94) 0%, rgba(31, 33, 48, .78) 54%, rgba(31, 33, 48, .45) 100%);
}

.measurement-hero .container {
  position: relative;
  z-index: 2;
}

.measurement-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .55fr);
  gap: 3rem;
  align-items: center;
}

.measurement-hero h1,
.measurement-hero h2,
.measurement-hero h3 {
  color: var(--white);
}

.measurement-hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}

.measurement-hero .lead {
  max-width: 690px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.measurement-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.measurement-hero-card {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.measurement-card-label {
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  margin-bottom: 1rem;
}

.measurement-hero-card ul {
  display: grid;
  gap: .85rem;
}

.measurement-hero-card li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255, 255, 255, .86);
}

.measurement-hero-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: .58rem;
  height: .58rem;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 0 5px rgba(239, 200, 91, .18);
}

.measurement-hero-card strong {
  color: var(--white);
}

.measurement-hero-note {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}

.measurement-quick {
  padding: 3rem 0;
}

.measurement-quick-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(31, 33, 48, .08);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.measurement-quick-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.measurement-quick-grid p {
  color: var(--muted-fg);
  font-size: 1.05rem;
}

.measurement-steps-section .section-header {
  max-width: 830px;
  margin-left: auto;
  margin-right: auto;
}

.measurement-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.measurement-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(31, 33, 48, .08);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.measurement-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 200, 91, .45);
}

.measurement-step-number {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  letter-spacing: -.03em;
  box-shadow: 0 12px 26px rgba(31, 33, 48, .18);
}

.measurement-step h3 {
  margin-bottom: .55rem;
  font-size: 1.18rem;
}

.measurement-step p {
  color: var(--muted-fg);
}

.measurement-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 3rem;
  align-items: center;
}

.measurement-diagram {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(31, 33, 48, .06), rgba(239, 200, 91, .18)),
    var(--white);
  border: 1px solid rgba(31, 33, 48, .08);
  box-shadow: var(--shadow);
}

.diagram-window {
  position: relative;
  width: min(360px, 72vw);
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px;
  border: 18px solid var(--primary);
  border-radius: 1.35rem;
  background: #f7f3e8;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .72), 0 24px 60px rgba(31, 33, 48, .18);
}

.diagram-pane {
  border-radius: .75rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,.85), rgba(255,255,255,.25)),
    linear-gradient(135deg, rgba(239,200,91,.32), rgba(31,33,48,.08));
  border: 4px solid rgba(31, 33, 48, .72);
}

.diagram-arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 36px;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  box-shadow: 0 12px 24px rgba(31, 33, 48, .18);
}

.diagram-arrow-width {
  left: 50%;
  top: -3.7rem;
  transform: translateX(-50%);
}

.diagram-arrow-width::before,
.diagram-arrow-width::after,
.diagram-arrow-height::before,
.diagram-arrow-height::after {
  content: '';
  position: absolute;
  background: var(--secondary);
}

.diagram-arrow-width::before {
  left: -4.7rem;
  right: calc(100% - .2rem);
  height: 3px;
}

.diagram-arrow-width::after {
  right: -4.7rem;
  left: calc(100% - .2rem);
  height: 3px;
}

.diagram-arrow-height {
  right: -5.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.diagram-arrow-height::before {
  left: -4.1rem;
  right: calc(100% - .2rem);
  height: 3px;
}

.diagram-arrow-height::after {
  right: -4.1rem;
  left: calc(100% - .2rem);
  height: 3px;
}

.measurement-tips h2 {
  margin-bottom: 1.2rem;
}

.measurement-checklist {
  display: grid;
  gap: .9rem;
  margin-top: 1.25rem;
}

.measurement-checklist li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(31, 33, 48, .08);
  color: var(--muted-fg);
  box-shadow: var(--shadow-sm);
}

.measurement-checklist li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: .78rem;
  font-weight: 900;
}

.measurement-message-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
}

.measurement-page--redesign .measurement-example,
.measurement-page--redesign .measurement-warning {
  margin-top: 0;
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(31, 33, 48, .08);
  box-shadow: var(--shadow);
}

.measurement-page--redesign .measurement-example {
  background: var(--primary);
  color: var(--white);
}

.measurement-page--redesign .measurement-example h2,
.measurement-page--redesign .measurement-example p {
  color: var(--white);
}

.measurement-page--redesign .measurement-example p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
}

.measurement-page--redesign .measurement-warning {
  background: var(--white);
}

.measurement-page--redesign .measurement-warning p {
  color: var(--muted-fg);
}

.measurement-final-cta .cta-box {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .measurement-hero {
    min-height: auto;
  }

  .measurement-hero-grid,
  .measurement-quick-grid,
  .measurement-visual-grid,
  .measurement-message-grid {
    grid-template-columns: 1fr;
  }

  .measurement-hero-card {
    max-width: 640px;
  }

  .diagram-arrow-height {
    right: -4.6rem;
  }
}

@media (max-width: 760px) {
  .measurement-hero {
    padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  }

  .measurement-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.35rem);
  }

  .measurement-hero-actions,
  .measurement-final-cta .cta-buttons {
    flex-direction: column;
  }

  .measurement-hero-actions .btn,
  .measurement-final-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .measurement-quick-grid,
  .measurement-hero-card,
  .measurement-page--redesign .measurement-example,
  .measurement-page--redesign .measurement-warning {
    padding: 1.35rem;
  }

  .measurement-timeline {
    grid-template-columns: 1fr;
  }

  .measurement-step {
    grid-template-columns: 1fr;
  }

  .measurement-diagram {
    min-height: 420px;
    padding: 2rem 1.1rem;
  }

  .diagram-window {
    width: min(260px, 70vw);
    border-width: 13px;
    padding: 12px;
  }

  .diagram-arrow {
    min-width: 92px;
    min-height: 32px;
    font-size: .64rem;
  }

  .diagram-arrow-width {
    top: -3.2rem;
  }

  .diagram-arrow-height {
    right: -4.25rem;
  }

  .diagram-arrow-width::before,
  .diagram-arrow-width::after,
  .diagram-arrow-height::before,
  .diagram-arrow-height::after {
    display: none;
  }
}

/* Pomiar okien - wygląd ujednolicony z pozostałymi podstronami */
.measurement-page--aligned .measurement-header {
  background:
    linear-gradient(135deg, rgba(31,33,48,.04), rgba(239,200,91,.14)),
    var(--bg);
  padding-bottom: 4rem;
}

.measurement-page--aligned .measurement-header .section-header {
  max-width: 920px;
  margin: 0 auto;
}

.measurement-page--aligned .measurement-header h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.measurement-page--aligned .measurement-header .lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.measurement-header-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.measurement-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,33,48,.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.measurement-intro-grid p {
  color: var(--muted-fg);
  font-size: 1.05rem;
}

.measurement-inline-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--secondary);
  background: rgba(239,200,91,.14);
  color: var(--primary);
  font-weight: 700;
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.measurement-grid--steps .measurement-card {
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.measurement-grid--steps .measurement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239,200,91,.45);
  box-shadow: var(--shadow-lg);
}

.measurement-content-grid,
.measurement-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.measurement-diagram-card,
.measurement-tips-card {
  background: var(--white);
  border: 1px solid rgba(31,33,48,.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.measurement-diagram-card {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.measurement-page--aligned .diagram-window {
  width: min(320px, 68vw);
}

.measurement-tips-card h2 {
  margin-bottom: 1rem;
}

.measurement-page--aligned .measurement-checklist {
  display: grid;
  gap: .85rem;
  margin-top: 1.2rem;
}

.measurement-page--aligned .measurement-checklist li {
  position: relative;
  padding: .95rem 1rem .95rem 2.8rem;
  border-radius: var(--radius);
  background: rgba(31,33,48,.035);
  color: var(--muted-fg);
}

.measurement-page--aligned .measurement-checklist li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: .95rem;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
}

.measurement-page--aligned .measurement-example,
.measurement-page--aligned .measurement-warning {
  margin-top: 0;
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.measurement-page--aligned .measurement-example {
  background: var(--primary);
  color: var(--white);
}

.measurement-page--aligned .measurement-example h2,
.measurement-page--aligned .measurement-example p {
  color: var(--white);
}

.measurement-page--aligned .measurement-example p {
  color: rgba(255,255,255,.82);
}

.measurement-page--aligned .measurement-warning p {
  color: var(--muted-fg);
}

.measurement-page--aligned .measurement-final-cta .cta-box {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .measurement-intro-grid,
  .measurement-content-grid,
  .measurement-message-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .measurement-header-actions,
  .measurement-page--aligned .measurement-final-cta .cta-buttons {
    flex-direction: column;
  }

  .measurement-header-actions .btn,
  .measurement-page--aligned .measurement-final-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .measurement-intro-grid,
  .measurement-diagram-card,
  .measurement-tips-card,
  .measurement-page--aligned .measurement-example,
  .measurement-page--aligned .measurement-warning {
    padding: 1.35rem;
  }

  .measurement-grid--steps {
    grid-template-columns: 1fr;
  }

  .measurement-diagram-card {
    min-height: 360px;
  }
}


/* Pomiar - korekta czytelności kart i zdjęcie między sekcjami */
.measurement-page--aligned .measurement-grid--steps .measurement-card {
  background: var(--white);
  border-color: rgba(31,33,48,.10);
  box-shadow: var(--shadow-sm);
}

.measurement-page--aligned .measurement-grid--steps .measurement-card h3 {
  color: var(--primary);
}

.measurement-page--aligned .measurement-grid--steps .measurement-card p {
  color: var(--muted-fg);
}

.measurement-page--aligned .measurement-grid--steps .measurement-card span {
  background: var(--primary);
  color: var(--white);
}

.measurement-photo-section {
  padding: 0 0 5rem;
}

.measurement-intro + .measurement-photo-section {
  margin-top: -1rem;
}

.measurement-wide-image {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--primary);
}

.measurement-wide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,33,48,.84) 0%, rgba(31,33,48,.52) 46%, rgba(31,33,48,.18) 100%);
  z-index: 1;
}

.measurement-wide-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.measurement-wide-overlay {
  position: absolute;
  left: clamp(2rem, 5vw, 4rem);
  bottom: clamp(2rem, 5vw, 4rem);
  z-index: 2;
  max-width: 650px;
  color: var(--white);
}

.measurement-wide-overlay span {
  display: block;
  margin-bottom: .9rem;
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.measurement-wide-overlay h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

@media (max-width: 760px) {
  .measurement-photo-section {
    padding-bottom: 3.5rem;
  }

  .measurement-wide-image,
  .measurement-wide-image img {
    min-height: 360px;
  }

  .measurement-wide-overlay {
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.5rem;
  }
}
