/*
Theme Name: Camper Face
Theme URI: https://camperface.com
Author: Camper Face
Author URI: https://camperface.com
Description: Jednostronicowa wizytówka marki Camper Face – Wszystko o kamperach. Teksty, statystyki, e-mail i linki edytujesz w: Wygląd → Dostosuj → Camper Face – treści strony.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: camper-face
Tags: one-column, custom-logo, theme-options, translation-ready
*/

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


.cf-site *, .cf-site ::before, .cf-site ::after { margin: 0; padding: 0; border: 0 solid; }
.cf-site h1, .cf-site h2, .cf-site h3, .cf-site h4, .cf-site h5, .cf-site h6 { font-size: inherit; font-weight: inherit; }
.cf-site a { text-decoration: inherit; }
.cf-site button { font: inherit; color: inherit; background: transparent; }
.cf-site img, .cf-site video { max-width: 100%; height: auto; }
.cf-site svg { display: block; vertical-align: middle; }
.cf-site ul, .cf-site ol { list-style: none; }
/* =========================================================
   CAMPER FACE – jeden system kolorów i typografii
   ========================================================= */

:root {
  --bg: #efeee8;
  --paper: #fbfbf8;
  --ink: #17282b;
  --teal: #2c5f5b;
  --teal-dark: #234b48;
  --muted: #5a6b68;
  --line-art: #5f8179;
  --line-soft: #b3c6c0;
  --orange: #f4511e;
  --orange-light: #ff9f75;

  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-xl: 32px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 32px -16px rgba(40, 70, 62, 0.22);

  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cf-site * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
}

.cf-site a {
  color: inherit;
}

.cf-site ::selection {
  background: var(--teal);
  color: #fff;
}

.cf-site :focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- centralny kontener: wolne boki po obu stronach ---------- */

.cf-site .cf-page {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}

/* ---------- typografia (identyczna we wszystkich blokach) ---------- */

.cf-site .eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cf-site .eyebrow--center {
  text-align: center;
}

.cf-site .title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.35rem + 2.1vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-wrap: balance;
}

.cf-site .title--center {
  text-align: center;
}

.cf-site .title--light {
  color: #fbfbf6;
}

.cf-site .lead {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}

.cf-site .text {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.8;
}

.cf-site .text:last-child {
  margin-bottom: 0;
}

.cf-site .text--small {
  font-size: 14px;
  line-height: 1.7;
}

.cf-site .card-title {
  margin: 12px 0 10px;
  color: var(--teal-dark);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- nagłówek z logo ---------- */

.cf-site .site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
}

.cf-site .brand {
  display: block;
  line-height: 0;
}

.cf-site .brand-logo {
  display: block;
  width: 248px;
  height: auto;
}

.cf-site .logo-ink {
  fill: #121a1c;
}

.cf-site .logo-wheel {
  fill: var(--orange);
}

.cf-site .logo--light .logo-ink {
  fill: #fff;
}

.cf-site .brand-tagline {
  margin: 18px 0 0;
  color: #5f7d77;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.cf-site .site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  margin-top: 28px;
}

.cf-site .site-nav a {
  position: relative;
  color: #4b5f5b;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.cf-site .site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.cf-site .site-nav a:hover {
  color: var(--ink);
}

.cf-site .site-nav a:hover::after {
  transform: scaleX(1);
}

/* ---------- grafiki liniowe (jeden rozmiar dla wszystkich) ---------- */

.cf-site .scene-wrap {
  margin: 48px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.cf-site .scene {
  display: block;
  width: 100%;
  height: auto;
}

.cf-site .scene * {
  vector-effect: non-scaling-stroke;
}

.cf-site .sc-line,
.cf-site .sc-soft,
.cf-site .sc-shape {
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cf-site .sc-line {
  fill: none;
  stroke: var(--line-art);
}

.cf-site .sc-soft {
  fill: none;
  stroke: var(--line-soft);
}

.cf-site .sc-shape {
  fill: var(--bg);
  stroke: var(--line-art);
}

.cf-site .sc-accent {
  fill: var(--orange);
}

/* ---------- animacja pojawiania ---------- */

.cf-js .cf-site .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cf-js .cf-site .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Kim jesteśmy ---------- */

.cf-site .about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 0 40px;
}

.cf-site .about-head {
  padding-top: 4px;
}

/* ---------- Zasięgi ---------- */

.cf-site .reach {
  padding: 64px 36px 36px;
  border-radius: var(--radius-xl);
  color: #f4f4ee;
  background:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #3b716b 0%, #2c5f5b 45%, #224743 100%);
  box-shadow: 0 30px 70px -30px rgba(25, 60, 55, 0.55);
}

.cf-site .reach .eyebrow {
  color: var(--orange-light);
}

.cf-site .reach-title {
  max-width: 560px;
  margin: 0 auto 40px;
}

.cf-site .glass {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
}

.cf-site .stat-number {
  color: #fffdf6;
  font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cf-site .stat-label {
  color: #f4f4ee;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.cf-site .stat-caption {
  color: rgba(244, 244, 238, 0.66);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
}

.cf-site .reach-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.cf-site .reach-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 262px;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
}

.cf-site .reach-total .stat-number {
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  line-height: 1;
}

.cf-site .reach-line {
  width: 34px;
  height: 2px;
  margin: 22px 0 18px;
  background: var(--orange);
}

.cf-site .reach-total .stat-caption,
.cf-site .reach-side-card .stat-caption {
  margin-top: 4px;
}

.cf-site .reach-side {
  display: grid;
  gap: 14px;
}

.cf-site .reach-side-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 22px;
  text-align: center;
}

.cf-site .reach-side-card .stat-number {
  margin-bottom: 6px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.cf-site .platforms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cf-site .platform {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.cf-site .platform:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.cf-site .platform-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 18px;
}

.cf-site .platform-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.cf-site .platform-icon .icon {
  width: 17px;
  height: 17px;
}

.cf-site .platform-name {
  color: #f4f4ee;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.cf-site .platform-stat {
  display: flex;
  flex-direction: column;
}

.cf-site .platform-stat .stat-number {
  font-size: 1.35rem;
  line-height: 1.2;
}

.cf-site .platform-sep {
  height: 1px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.15);
}

.cf-site .reach-footnote {
  margin: 26px 0 0;
  color: rgba(244, 244, 238, 0.55);
  font-family: var(--font-body);
  font-size: 12px;
  text-align: center;
}

/* ---------- ikony ---------- */

.cf-site .icon {
  display: block;
}

.cf-site .icon-fill {
  fill: currentColor;
}

.cf-site .icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cf-site .icon-stroke .dot {
  fill: currentColor;
  stroke: none;
}

/* ---------- O projekcie ---------- */

.cf-site .project {
  padding-top: 104px;
}

.cf-site .project .title {
  margin-bottom: 18px;
}

.cf-site .project-intro {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cf-site .project-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 44px auto 0;
}

.cf-site .project-card {
  padding: 28px 24px 30px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cf-site .project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(40, 70, 62, 0.3);
}

.cf-site .project-num {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- Kontakt ---------- */

.cf-site .contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 0 40px;
}

.cf-site .contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cf-site .contact-question {
  margin-bottom: 10px;
}

.cf-site .contact-email {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-decoration: none;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.3s, color 0.2s;
}

.cf-site .contact-email:hover {
  color: var(--teal);
  background-size: 100% 2px;
}

.cf-site .contact-note {
  margin: 12px 0 0;
  font-size: 14px;
}

.cf-site .social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cf-site .social-btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(44, 95, 91, 0.25);
  border-radius: 50%;
  color: var(--teal);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cf-site .social-btn:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.cf-site .social-btn .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Stopka ---------- */

.cf-site .footer {
  margin-bottom: 40px;
  padding: 44px 36px 26px;
  border-radius: var(--radius-xl);
  color: #e7eee9;
  background:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px),
    var(--teal-dark);
  box-shadow: 0 30px 70px -36px rgba(25, 60, 55, 0.5);
}

.cf-site .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cf-site .footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.cf-site .footer-logo {
  display: block;
  width: 200px;
  height: auto;
}

.cf-site .footer-brand p {
  max-width: 320px;
  margin: 22px 0 0;
  color: rgba(231, 238, 233, 0.75);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.75;
}

.cf-site .footer-heading {
  margin: 2px 0 18px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cf-site .footer-email {
  display: inline-block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.cf-site .footer-email:hover {
  color: var(--orange-light);
}

.cf-site .footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.cf-site .footer-socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s;
}

.cf-site .footer-socials a:hover {
  background: var(--orange);
}

.cf-site .footer-socials .icon {
  width: 15px;
  height: 15px;
}

.cf-site .footer-grid button {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(231, 238, 233, 0.8);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  transition: color 0.2s;
}

.cf-site .footer-grid button:hover {
  color: #fff;
}

.cf-site .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  padding-top: 22px;
  color: rgba(231, 238, 233, 0.6);
  font-family: var(--font-body);
  font-size: 12px;
}

/* ---------- okno polityk ---------- */

.cf-site .modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 40, 38, 0.55);
  backdrop-filter: blur(6px);
}

.cf-site .modal {
  position: relative;
  width: min(520px, 100%);
  padding: 40px 34px 34px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.cf-site .modal-title {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cf-site .modal .text {
  font-size: 14.5px;
}

.cf-site .modal-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 600;
}

.cf-site .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* ---------- responsywność ---------- */

@media (max-width: 960px) {
  .cf-site .platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cf-site .about {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .cf-site .cf-page {
    width: calc(100% - 28px);
  }

  .cf-site .site-header {
    padding-top: 40px;
  }

  .cf-site .brand-logo {
    width: 200px;
  }

  .cf-site .brand-tagline {
    font-size: 11px;
    letter-spacing: 0.26em;
  }

  .cf-site .site-nav {
    gap: 8px 22px;
    margin-top: 22px;
  }

  .cf-site .site-nav a {
    font-size: 14px;
  }

  /* na telefonie grafika jest lekko powiększona i przycięta po bokach */
  .cf-site .scene-wrap {
    margin: 36px 0;
  }

  .cf-site .scene {
    width: 140%;
    margin-left: -20%;
  }

  .cf-site .sc-line,
  .cf-site .sc-soft,
  .cf-site .sc-shape {
    stroke-width: 1.3;
  }

  .cf-site .about {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 8px;
  }

  .cf-site .lead {
    font-size: 18px;
  }

  .cf-site .reach {
    padding: 48px 16px 24px;
    border-radius: 26px;
  }

  .cf-site .reach-title {
    margin-bottom: 32px;
  }

  .cf-site .reach-top {
    grid-template-columns: 1fr;
  }

  .cf-site .reach-total {
    min-height: 210px;
  }

  .cf-site .reach-side {
    grid-template-columns: 1fr 1fr;
  }

  .cf-site .platforms {
    grid-template-columns: 1fr 1fr;
  }

  .cf-site .platform:last-child {
    grid-column: 1 / -1;
  }

  .cf-site .project {
    padding-top: 76px;
  }

  .cf-site .project-cards {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .cf-site .contact {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 8px;
  }

  .cf-site .contact-body {
    align-items: flex-start;
    text-align: left;
  }

  .cf-site .footer {
    margin-bottom: 14px;
    padding: 36px 22px 22px;
    border-radius: 26px;
  }

  .cf-site .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .cf-site .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .cf-site .reach-side {
    grid-template-columns: 1fr;
  }

  .cf-site .platform-stat .stat-number {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-site *,
  .cf-site *::before,
  .cf-site *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .cf-js .cf-site .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ---------- dodatki potrzebne tylko w WordPressie ---------- */

.cf-site .sr-only,
.cf-site .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cf-site .skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
}

/* własne logo wgrane w WordPressie (Wygląd → Dostosuj → Tożsamość witryny) */
.cf-site .brand--custom {
  line-height: 0;
}

.cf-site .brand--custom img {
  display: block;
  width: auto;
  max-width: 248px;
  max-height: 140px;
  height: auto;
}

/* kafelek platformy bez linku */
.cf-site div.platform {
  cursor: default;
}

.cf-site div.platform:hover {
  transform: none;
}

/* okna polityk */
.cf-site .modal-backdrop[hidden] {
  display: none;
}

.cf-site .footer-link {
  display: block;
  margin-bottom: 10px;
  color: rgba(231, 238, 233, 0.8);
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.cf-site .footer-link:hover {
  color: #fff;
}

/* podstrony (np. osobna strona z polityką prywatności) */
.cf-site .entry-main {
  display: grid;
  gap: 24px;
  margin: 48px 0;
}

.cf-site .entry-card {
  padding: 56px clamp(24px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.cf-site .entry-title {
  margin-bottom: 24px;
}

.cf-site .entry-title a:hover {
  color: var(--teal);
}

.cf-site .entry-content {
  max-width: 720px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}

.cf-site .entry-content > * + * {
  margin-top: 1em;
}

.cf-site .entry-content h2,
.cf-site .entry-content h3,
.cf-site .entry-content h4 {
  margin-top: 1.6em;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.3;
}

.cf-site .entry-content h2 {
  font-size: 1.5rem;
}

.cf-site .entry-content h3 {
  font-size: 1.25rem;
}

.cf-site .entry-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cf-site .entry-content ul,
.cf-site .entry-content ol {
  padding-left: 1.4em;
  list-style: revert;
}

.cf-site .entry-content img {
  border-radius: 14px;
}

.cf-site .nav-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-head);
}

@media (max-width: 760px) {
  .cf-site .entry-main {
    margin: 36px 0;
  }

  .cf-site .entry-card {
    padding: 36px 22px;
    border-radius: 26px;
  }
}
/* Ramka na wersji desktop */
@media (min-width: 768px) {
  body {
    max-width: 1200px;
    margin: 0 auto;
    border-left: 2px solid #2d4a4a;
    border-right: 2px solid #2d4a4a;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    background-color: #f5f0e8;
  }
}