/* PM Group (pmgroup.agency) — własny CSS odwzorowujący wygląd dawnej strony WP (motyw Noile).
   Kolory i fonty jak w motywie: czerwień #D94645, czerń #1d1d1d/#222, szary tekst #777; Sora (tekst), Epilogue (nagłówki). */

:root {
    --red: #D94645;
    --red-2: #BE403F;
    --black: #1d1d1d;
    --black-2: #222;
    --black-3: #282828;
    --gray: #777;
    --gray-2: #a0a1a6;
    --line: #ececec;
    --font: "Sora", system-ui, sans-serif;
    --font-head: "Epilogue", "Sora", system-ui, sans-serif;
    --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.875; color: var(--gray);
    background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--black); margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.container--narrow { max-width: 1170px; }
.container--case { max-width: 1170px; }
.section { padding: 110px 0; }
.section--tight { padding: 70px 0; }
.lead-center { max-width: 1120px; margin: 0 auto 70px; text-align: center; }
.ico { width: 1em; height: 1em; vertical-align: -.125em; }

/* --- przyciski --- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; position: relative; border: 0;
    padding: 18px 32px; font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2;
    color: #fff; background: var(--black); transition: background .25s, color .25s;
}
.btn::after { /* trójkąt w rogu jak w motywie */
    content: ""; position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 0 0 14px 14px;
    border-color: transparent transparent var(--red) transparent; transition: border-color .25s;
}
.btn .ico { font-size: 12px; }
.btn--dark:hover { background: var(--red); }
.btn--dark:hover::after { border-bottom-color: var(--black); }
.btn--red { background: var(--red); }
.btn--red::after { border-bottom-color: var(--black); }
.btn--red:hover { background: var(--black); }
.btn--red:hover::after { border-bottom-color: var(--red); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn--ghost::after { display: none; }
.btn--small { padding: 12px 24px; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-size: inherit; }

/* --- nagłówek --- */
.site-header { background: #fff; position: relative; z-index: 30; }
.site-header__inner {
    max-width: 1440px; margin: 0 auto; padding: 0 70px 0 90px; height: 186px;
    display: flex; align-items: center; gap: 40px;
}
.site-header__logo img { width: 244px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 90px; margin: 0; padding: 0; }
.site-nav a { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--black); }
.site-nav a:hover, .site-nav a.is-active { color: var(--red); }
.site-header__dots {
    display: grid; grid-template-columns: repeat(3, 4px); gap: 10px 12px; background: none; border: 0;
    padding: 8px; margin-left: 50px;
}
.site-header__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--black); }
.site-header__dots i:nth-child(4), .site-header__dots i:nth-child(6) { background: var(--red); }
.site-header__dots i:nth-child(5) { visibility: hidden; }
.site-header__burger { display: none; background: none; border: 0; padding: 10px; margin-left: auto; }
.site-header__burger i { display: block; width: 26px; height: 2px; background: var(--black); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* --- panel boczny („kropki”) --- */
.side-panel { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.side-panel__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.side-panel__box {
    position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%); overflow-y: auto;
    background: var(--black); color: #bbb; padding: 60px 40px; transform: translateX(100%); transition: transform .35s;
}
.side-panel.is-open { visibility: visible; }
.side-panel.is-open .side-panel__overlay { opacity: 1; }
.side-panel.is-open .side-panel__box { transform: none; }
.side-panel__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; }
.side-panel__logo { width: 190px; margin-bottom: 26px; }
.side-panel__lead { margin-bottom: 26px; }
.side-panel h4 { color: #fff; margin: 40px 0 16px; font-size: 20px; }
.side-panel__list { list-style: none; margin: 0 0 30px; padding: 0; }
.side-panel__list li { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.side-panel__list .ico { color: var(--red); flex: none; }
.side-panel__list a:hover { color: #fff; }

.social { display: flex; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: #2c2c2c; color: #aaa; }
.social a + a { background: #3a3a3a; }
.social a:hover { background: var(--red); color: #fff; }
.social .ico { font-size: 15px; }

/* --- nagłówek podstrony --- */
.page-header {
    position: relative; overflow: hidden; color: #fff; padding: 148px 0 142px;
    background: var(--black) var(--bg, none) center / cover no-repeat; background-blend-mode: luminosity;
}
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(29,29,29,.55); }
.page-header--plain::before { display: none; }
.page-header__lines { position: absolute; inset: 0; display: flex; justify-content: space-around; pointer-events: none; z-index: 1; }
.page-header__lines i { width: 1px; background: rgba(255,255,255,.12); }
.page-header__lines i:first-child { margin-left: -12%; }
.page-header__vertical {
    position: absolute; left: 22px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center;
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.35); z-index: 2; display: none;
}
.page-header__inner { position: relative; z-index: 3; }
.page-header__circle {
    position: absolute; width: 244px; height: 244px; border-radius: 50%; background: var(--red);
    top: -45px; left: -26px; z-index: -1; animation: bob 2s ease-in-out infinite alternate;
}
.page-header__title { color: #fff; font-size: 90px; letter-spacing: -.02em; margin: 0 0 18px; max-width: 900px; line-height: 1.05; }
.breadcrumb { font-family: var(--font); font-weight: 600; font-size: 24px; color: #fff; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb > .ico { color: #ddd; font-size: 22px; margin-right: 10px; stroke-width: 1.2; }
.breadcrumb span { color: rgba(255,255,255,.7); font-weight: 500; }
.breadcrumb a:hover { color: var(--red); }
.page-header__ring { position: absolute; right: 26%; top: -6px; width: 110px; }
.page-header__shape { position: absolute; right: -15px; bottom: 0; width: 389px; height: 319px; fill: var(--red); z-index: 2; overflow: visible; }
.page-header__shape path:last-child { fill: var(--red-2); }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(14px); } }

.ring { overflow: visible; animation: spin 18s linear infinite; }
.ring text { font-family: var(--font); font-size: 9px; letter-spacing: 3px; fill: rgba(255,255,255,.7); }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- slajder na stronie głównej --- */
.hero { position: relative; margin: 0 10px; height: 773px; overflow: hidden; background: var(--black); }
.hero__slide {
    position: absolute; inset: 0; color: #fff; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s;
    background: var(--black) var(--bg) center / cover no-repeat; background-blend-mode: luminosity;
}
.hero__slide::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.62); }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__inner { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-left: 62px; }
.hero__circle { position: absolute; left: 30px; top: 50%; margin-top: -185px; width: 366px; height: 366px; border-radius: 50%; background: var(--red); z-index: -1; animation: bob 2s ease-in-out infinite alternate; }
.hero__title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 96px; line-height: 1; letter-spacing: -.02em; margin: 0 0 40px; }
.hero__sub { font-family: var(--font); font-weight: 600; font-size: 24px; margin: 0 0 40px; display: flex; gap: 16px; align-items: center; }
.hero__sub .ico { font-size: 26px; stroke-width: 1.2; }
.hero__inner .btn { align-self: flex-start; }
.hero__ring { position: absolute; left: 61%; top: 98px; width: 100px; z-index: 3; }
.hero__ring text { fill: #bbb; }
.hero__shape { position: absolute; right: 0; bottom: 0; height: 610px; width: 400px; fill: var(--red); z-index: 2; }
.hero__dots { position: absolute; left: 100px; bottom: 22px; z-index: 5; display: flex; gap: 12px; }
.hero__dots button, .carousel__dots button {
    width: 12px; height: 12px; padding: 0; border: 1px solid transparent; background: transparent; position: relative; border-radius: 2px;
}
.hero__dots button::after, .carousel__dots button::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #bbb;
}
.hero__dots button.is-active, .carousel__dots button.is-active { border-color: var(--red); }
.hero__dots button.is-active::after, .carousel__dots button.is-active::after { background: var(--red); }
.hero__dots button::after { background: var(--red); }

/* --- tytuły sekcji --- */
.sec-title { text-align: center; margin-bottom: 60px; }
.sec-title__kicker { color: var(--red); font-family: var(--font); font-weight: 500; font-size: 16px; margin: 0 0 8px; }
.sec-title__heading { font-size: 50px; letter-spacing: -.02em; margin: 0; }

/* --- karuzela (pasek przewijany + kropki) --- */
.carousel { --gap: 24px; }
.carousel__track {
    display: grid; grid-auto-flow: column; gap: var(--gap);
    grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
    padding: 1px; scroll-padding: 1px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__dots { display: flex; justify-content: center; gap: 12px; margin-top: 50px; min-height: 12px; }

/* --- usługi --- */
.services { padding-top: 120px; }
.services__carousel { --gap: 11px; }
.service-card { border: 1px solid var(--line); padding: 60px 36px 70px; background: #fff; transition: box-shadow .3s; }
.service-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.service-card__tag { display: inline-block; background: #f2f2f2; color: var(--black); border-radius: 30px; padding: 4px 22px; font-size: 14px; }
.service-card__icon { display: block; font-size: 82px; color: var(--black); stroke-width: 1.4; margin: 30px 0 34px; }
.service-card__text { font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.875; color: var(--black); margin: 0; }

/* --- klienci --- */
.clients__carousel { --gap: 30px; }
.client-logo { height: 130px; display: grid; place-items: center; }
.client-logo img { max-height: 100px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* --- kafelki realizacji --- */
.projects__carousel { --gap: 24px; }
.project-card { position: relative; display: block; overflow: hidden; aspect-ratio: 261 / 420; background: #eee; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .6s, filter .4s; }
.project-card__info {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 24px; display: flex; flex-direction: column;
    background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s;
}
.project-card__label { font-size: 14px; color: rgba(255,255,255,.8); }
.project-card__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.05); filter: none; }
.project-card:hover .project-card__info, .project-card:focus-visible .project-card__info { opacity: 1; transform: none; }
@media (hover: none) { .project-card__info { opacity: 1; transform: none; } }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projects-grid .project-card { aspect-ratio: 412 / 590; }

/* --- zespół --- */
.team-card { border: 1px solid var(--line); padding: 30px 20px 54px; background: #fff; }
.team-card__role { margin: 0 0 4px; font-size: 16px; color: var(--gray); }
.team-card__name { font-family: var(--font-head); font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 44px; }
.team-card__photo { width: 100%; aspect-ratio: 264 / 358; object-fit: cover; filter: grayscale(1); }

/* --- o nas --- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text { border-bottom: 1px solid var(--line); padding: 20px 0 40px; }
.about__text .sec-title__kicker { margin-bottom: 4px; }
.about__text .sec-title__heading { font-size: 40px; margin-bottom: 20px; }
.about__media { position: relative; padding: 30px 40px 60px; }
.about__photo { position: relative; z-index: 2; width: 100%; filter: grayscale(1); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.about__shape { position: absolute; z-index: 1; }
.about__shape--dark { left: 0; top: 0; width: 40%; height: 70px; background: var(--black); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.about__shape--red { right: 0; top: 0; width: 35%; height: 100%; background: var(--red); clip-path: polygon(55% 0, 100% 0, 45% 100%, 0 100%); }
.about__frame { position: absolute; z-index: 3; inset: 0 20px 30px 20px; border: 1px solid var(--black); pointer-events: none; transform: rotate(-2deg); }

/* --- marki --- */
.brands__carousel { --gap: 30px; }
.brand-card { position: relative; display: grid; place-items: center; height: 300px; overflow: hidden; }
.brand-card img { max-height: 240px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter .3s; }
.brand-card__info { position: absolute; inset: auto 0 0 0; padding: 18px; text-align: center; background: rgba(29,29,29,.9); color: #fff; transform: translateY(100%); transition: transform .3s; }
.brand-card__desc { display: block; font-size: 14px; color: #ccc; }
.brand-card__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.brand-card:hover img { filter: none; }
.brand-card:hover .brand-card__info, .brand-card:focus-visible .brand-card__info { transform: none; }

/* --- CTA i stopka --- */
.cta { position: relative; overflow: hidden; background: var(--red); padding: 76px 0; }
.cta__shapes { position: absolute; inset: 0; pointer-events: none; }
.cta__shapes i { position: absolute; top: 0; bottom: 0; }
.cta__shapes i:nth-child(1) { left: -2%; width: 26%; background: rgba(255,255,255,.12); clip-path: polygon(0 0, 30% 0, 100% 100%, 70% 100%); }
.cta__shapes i:nth-child(2) { left: 8%; width: 26%; background: var(--black-2); clip-path: polygon(0 0, 30% 0, 100% 100%, 70% 100%); }
.cta__shapes i:nth-child(3) { left: 20%; width: 20%; background: rgba(255,255,255,.12); clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%); }
.cta__shapes i:nth-child(4) { right: 0; width: 14%; background: var(--black-2); clip-path: polygon(100% 15%, 100% 100%, 0 100%); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title { color: #fff; font-size: 48px; letter-spacing: -.02em; max-width: 680px; margin: 0; }
.cta__btn {
    position: relative; flex: none; width: 416px; max-width: 100%; padding: 30px 40px; text-align: center;
    background: var(--black); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.4;
}
.cta__btn::after { content: ""; position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 0 0 18px 18px; border-color: transparent transparent #fff transparent; }
.cta__btn:hover { background: #fff; color: var(--black); }
.cta__btn:hover::after { border-bottom-color: var(--black); }

.site-footer { background: var(--black); color: #aaa; padding: 140px 0 90px; }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px; padding-left: 100px; }
.site-footer__logo { width: 202px; margin: 40px 0 46px; }
.site-footer__about p { margin-bottom: 30px; }
.site-footer__title { color: #fff; font-size: 20px; margin: 0 0 16px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { position: relative; padding-left: 16px; margin-bottom: 14px; font-size: 16px; }
.site-footer__list li::before { content: ""; position: absolute; left: 0; top: 12px; border: 4px solid transparent; border-left: 5px solid #666; }
.site-footer__list a:hover { color: #fff; }
.site-footer__list a.is-red { color: var(--red); }
.site-bottom { text-align: center; padding: 18px 20px; font-size: 12px; line-height: 1.7; color: var(--black); }
.site-bottom p { margin: 0; }
.site-bottom a:hover, .site-bottom .link-btn:hover { color: var(--red); }

/* --- realizacja --- */
.case { padding-top: 70px; }
.case__cover { position: relative; margin: 0 0 50px; }
.case__cover img { width: 100%; filter: grayscale(1); }
.case__cover figcaption {
    position: absolute; left: 30px; bottom: 30px; background: var(--red); color: #fff; padding: 6px 18px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
}
.case__info {
    float: right; width: 320px; margin: 0 0 40px 50px; position: relative; overflow: hidden;
    background: var(--black); color: #fff; padding: 40px 30px 50px;
}
.case__info dl { margin: 0; position: relative; z-index: 2; }
.case__info dt { font-size: 14px; color: var(--gray-2); font-weight: 400; }
.case__info dd { margin: 0 0 22px; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; }
.case__info dd:last-child { margin-bottom: 0; }
.case__info-shape { position: absolute; right: -40px; bottom: -10px; width: 180px; height: 220px; background: var(--red); opacity: .9; clip-path: polygon(30% 0, 55% 0, 100% 60%, 100% 100%, 70% 100%, 45% 55%, 20% 100%, 0 100%, 30% 45%); }
.prose { color: var(--gray); }
.prose h2 { font-size: 30px; margin: 46px 0 16px; }
.prose h3 { font-size: 24px; margin: 46px 0 16px; }
.prose h4 { font-size: 20px; margin: 30px 0 10px; }
.prose > :first-child, .prose > div:first-child > :first-child { margin-top: 0; }
.prose strong, .prose b { color: #555; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--red); }
.prose--wide { margin-top: 110px; }
.prose--wide h2 { font-size: 30px; }
.pmg-img { margin: 40px 0; clear: both; }
.pmg-img img { width: 100%; }
.pmg-gallery { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0; }
.pmg-gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pmg-video { clear: both; margin: 40px 0; }
.pmg-video video { width: 100%; display: block; background: var(--black); }
.case__boxes { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 60px 0; }
.case-box { display: flex; gap: 28px; align-items: flex-start; }
.case-box__icon { width: 64px; flex: none; }
.case-box__title { font-size: 24px; margin: 0 0 10px; }
.case-box p { margin: 0; }
.case__after { clear: both; }
.yt { position: relative; clear: both; margin: 30px 0 0; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
    position: absolute; left: 50%; top: 50%; width: 84px; height: 60px; margin: -30px 0 0 -42px; border: 0; border-radius: 14px;
    background: var(--red); color: #fff; display: grid; place-items: center; font-size: 30px;
}
.yt__play:hover { background: #f00; }

/* --- kariera --- */
.jobs-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.job-card { position: relative; display: block; overflow: hidden; aspect-ratio: 1; width: min(412px, 100%); }
.job-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .6s, filter .4s; }
.job-card__info { position: absolute; inset: auto 0 0 0; padding: 28px; display: flex; justify-content: space-between; align-items: end; gap: 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.job-card__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.job-card__btn { font-family: var(--font-head); font-weight: 700; white-space: nowrap; color: #fff; }
.job-card:hover img { transform: scale(1.05); filter: none; }
.job-card:hover .job-card__btn { color: var(--red); }

/* --- kontakt --- */
.contact { text-align: center; }
.contact__title { font-size: 34px; margin-bottom: 8px; }
.contact__lead { margin-bottom: 60px; }
.contact__buttons { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; }
.contact-form { max-width: 820px; margin: 30px auto 70px; text-align: left; }
.contact-form__title { font-size: 26px; text-align: center; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 28px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--black); margin-bottom: 6px; }
.form-field input[type=text], .form-field input[type=email], .form-field input[type=tel], .form-field select, .form-field textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--black); background: #fff; border: 1px solid #d6d6d6;
    border-radius: 0; padding: 12px 14px; transition: border-color .2s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--red); }
.form-field [aria-invalid=true] { border-color: var(--red); }
.form-field--wide { grid-column: 1 / -1; }
.form-field--check label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font); font-weight: 400; font-size: 14px; color: var(--gray); line-height: 1.6; }
.form-field--check input { margin-top: 4px; accent-color: var(--red); }
.form-field--check a { text-decoration: underline; }
.form-field__err { color: var(--red-2); font-size: 13px; margin: 6px 0 0; }
.form-field .req { color: var(--red); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 18px 22px; margin-bottom: 24px; font-size: 15px; }
.form-alert--ok { background: #eef7ee; color: #24572a; border-left: 4px solid #3d9a47; }
.form-alert--err { background: #fbeceb; color: var(--red-2); border-left: 4px solid var(--red); }
.contact-form .btn { margin: 0 auto; display: flex; width: max-content; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.map {
    max-width: 1140px; margin: 0 auto; height: 300px; background: #ececec; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px; position: relative;
}
.map p { color: var(--black); margin: 0; font-weight: 600; }
.map a { font-size: 14px; text-decoration: underline; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- sesje --- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { position: relative; border: 1px solid var(--line); padding: 40px 30px; }
.price-card--popular { box-shadow: 0 10px 40px rgba(0,0,0,.08); margin-top: 0; }
.price-card__badge { position: absolute; top: -16px; right: 30px; background: var(--red); color: #fff; font-size: 13px; padding: 3px 16px; }
.price-card__head { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.price-card__head h3 { font-size: 18px; margin: 0; }
.price-card__head p { font-size: 13px; margin: 0; line-height: 1.4; }
.price-card__price { font-family: var(--font-head); color: var(--black); font-size: 15px; text-align: right; max-width: 90px; line-height: 1.3; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 30px; font-size: 14px; }
.price-card li { position: relative; padding-left: 16px; margin-bottom: 8px; line-height: 1.6; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* --- cookies --- */
.cookie-bar {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80; max-width: 760px; margin: 0 auto;
    background: var(--black); color: #ccc; padding: 22px 26px; display: flex; gap: 20px; align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,.3); font-size: 14px; line-height: 1.6;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar__buttons { display: flex; gap: 10px; flex: none; }
.cookie-bar .btn { padding: 12px 18px; font-size: 13px; }

/* --- responsywność --- */
@media (max-width: 1399px) {
    .site-header__inner { padding: 0 30px; height: 140px; }
    .site-nav ul { gap: 50px; }
    .site-nav a { font-size: 17px; }
    .site-header__dots { margin-left: 20px; }
    .site-footer__grid { padding-left: 0; }
}
@media (max-width: 1199px) {
    .site-header__logo img { width: 200px; }
    .site-nav ul { gap: 32px; }
    .hero__title { font-size: 76px; }
    .page-header__title { font-size: 70px; }
    .sec-title__heading { font-size: 42px; }
    .cta__title { font-size: 38px; }
    .services__carousel, .team__carousel, .projects__carousel { --per: 3 !important; }
    .clients__carousel { --per: 4 !important; }
    .about__grid { gap: 40px; }
}
@media (max-width: 991px) {
    .site-header__inner { height: 100px; }
    .site-header__dots { display: none; }
    .site-header__burger { display: block; }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 20px 30px rgba(0,0,0,.08); display: none; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; padding: 10px 30px 24px; }
    .site-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .hero { height: 620px; margin: 0; }
    .hero__inner { padding-left: 20px; }
    .hero__title { font-size: 60px; }
    .hero__circle { width: 280px; height: 280px; margin-top: -150px; }
    .hero__shape { width: 260px; height: 400px; }
    .hero__ring { display: none; }
    .page-header { padding: 110px 0 100px; }
    .page-header__title { font-size: 54px; }
    .page-header__circle { width: 190px; height: 190px; }
    .page-header__shape { width: 250px; height: 205px; }
    .page-header__ring { display: none; }
    .breadcrumb { font-size: 18px; }
    .section { padding: 80px 0; }
    .services__carousel, .team__carousel, .projects__carousel, .brands__carousel { --per: 2 !important; }
    .clients__carousel { --per: 3 !important; }
    .about__grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .cta__inner { flex-direction: column; align-items: flex-start; }
    .site-footer { padding: 80px 0 50px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__about { grid-column: 1 / -1; }
    .site-footer__logo { margin-top: 0; }
    .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .case__info { float: none; width: auto; margin: 0 0 40px; }
}
@media (max-width: 700px) {
    .container { padding: 0 20px; }
    .site-header__logo img { width: 170px; }
    .hero { height: 560px; }
    .hero__title { font-size: 46px; margin-bottom: 26px; }
    .hero__sub { font-size: 18px; margin-bottom: 30px; }
    .hero__circle { width: 220px; height: 220px; left: 0; margin-top: -130px; }
    .hero__shape { width: 170px; height: 260px; }
    .hero__dots { left: 20px; }
    .page-header { padding: 80px 0 70px; }
    .page-header__title { font-size: 40px; }
    .page-header__circle { width: 150px; height: 150px; top: -40px; left: 0; }
    .page-header__shape { width: 160px; height: 130px; }
    .breadcrumb { font-size: 15px; }
    .sec-title { margin-bottom: 40px; }
    .sec-title__heading { font-size: 32px; }
    .services__carousel, .team__carousel, .projects__carousel, .brands__carousel { --per: 1.15 !important; }
    .clients__carousel { --per: 2 !important; }
    .projects-grid { grid-template-columns: 1fr; }
    .cta__title { font-size: 30px; }
    .cta__btn { width: 100%; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .case__boxes { grid-template-columns: 1fr; padding: 40px 0; }
    .pmg-gallery { grid-template-columns: 1fr; }
    .lead-center { margin-bottom: 40px; }
    .cookie-bar { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; }
    .cookie-bar__buttons { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- polityka prywatności --- */
.policy-table { width: 100%; border-collapse: collapse; margin: 10px 0 30px; font-size: 15px; line-height: 1.6; }
.policy-table th, .policy-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.policy-table th { color: var(--black); font-family: var(--font-head); background: #f6f6f6; }
@media (max-width: 700px) { .policy-table { font-size: 13px; } .policy-table th, .policy-table td { padding: 8px 10px; } }
