/*
Theme Name: Zur od Andrzeja
Theme URI: https://zurpiskorek.pl
Author: Magme
Description: Landing page dla manufaktury tradycyjnego zuru.
Version: 1.0.2
Text Domain: zur-piskorek
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #21170f;
  background: #fff7e6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

body:before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(49, 93, 67, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 93, 67, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

body.zp-readable,
body.zp-readable * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.01em;
}

body.zp-contrast {
  color: #ffffff;
  background: #000000;
}

body.zp-contrast:before {
  display: none;
}

body.zp-contrast a,
body.zp-contrast h1,
body.zp-contrast h2,
body.zp-contrast h3,
body.zp-contrast .eyebrow,
body.zp-contrast .brand span,
body.zp-contrast .nav__panel-head span {
  color: #ffe500 !important;
}

body.zp-contrast .site-header,
body.zp-contrast .eu-strip,
body.zp-contrast .hero,
body.zp-contrast .section,
body.zp-contrast .stat,
body.zp-contrast .product,
body.zp-contrast .step,
body.zp-contrast .eu-card,
body.zp-contrast .nav__panel,
body.zp-contrast .nav__links a,
body.zp-contrast .accessibility-panel__box {
  color: #ffffff;
  background: #000000;
  border-color: #ffffff;
}

body.zp-contrast p,
body.zp-contrast li,
body.zp-contrast span,
body.zp-contrast strong,
body.zp-contrast .lead,
body.zp-contrast .copy p,
body.zp-contrast .stat span,
body.zp-contrast .product__body p,
body.zp-contrast .step p,
body.zp-contrast .eu-card__content p,
body.zp-contrast .accessibility-panel__box p {
  color: #ffffff !important;
}

body.zp-contrast .amounts div {
  color: #ffffff !important;
  background: #000000;
  border: 1px solid #ffffff;
}

body.zp-contrast .amounts div strong {
  color: #ffffff !important;
  background: transparent;
}

body.zp-contrast .button,
body.zp-contrast .accessibility-panel button,
body.zp-contrast .nav__toggle {
  color: #000000 !important;
  background: #ffe500 !important;
  border-color: #ffe500 !important;
}

body.zp-links a {
  color: #005fcc !important;
  text-decoration: underline !important;
}

body.zp-motion-off *,
body.zp-motion-off *:before,
body.zp-motion-off *:after {
  animation: none !important;
  transition: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus,
button:focus {
  outline: 4px solid #005fcc;
  outline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.85rem 1rem;
  color: #fffdf8;
  background: #21170f;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
.brand span:first-child {
  margin: 0;
  color: #21170f;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  font-size: 7rem;
}

h2 {
  max-width: 900px;
  font-size: 4.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin: 0 0 1.2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #7b1d31;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: #625545;
  font-size: 1.22rem;
  line-height: 1.75;
}

.button {
  display: inline-block;
  min-width: 180px;
  min-height: 52px;
  margin: 0.4rem 0.6rem 0.4rem 0;
  padding: 0.72rem 1.25rem;
  color: #fffdf8;
  background: #21170f;
  border: 2px solid #21170f;
  border-radius: 7px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.product:hover,
.step:hover,
.stat:hover {
  transform: translateY(-3px);
}

.button--ghost {
  color: #21170f;
  background: transparent;
}

.eu-strip {
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #e3d3b7;
}

.eu-strip__inner {
  width: 760px;
  max-width: 92%;
  margin: 0 auto;
  padding: 1rem 0;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid #e3d3b7;
  box-shadow: 0 10px 28px rgba(61, 39, 18, 0.08);
}

.nav {
  width: 1180px;
  max-width: 94%;
  margin: 0 auto;
  padding: 1.05rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  flex: 0 0 auto;
  color: #21170f;
  text-decoration: none;
}

.brand span {
  display: block;
}

.brand span:first-child {
  font-size: 2.25rem;
}

.brand span:last-child {
  margin-top: 0.1rem;
  color: #625545;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav__toggle {
  display: none;
}

.nav__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav__panel-head {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
}

.nav__links a {
  margin-left: 1.4rem;
  color: #625545;
  font-weight: 900;
  text-decoration: none;
}

.nav__links a span {
  display: none;
}

.accessibility-panel {
  position: relative;
  margin-left: 1.2rem;
}

.accessibility-panel__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.55rem 0.9rem;
  color: #21170f;
  background: #fffdf8;
  border: 2px solid #21170f;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.accessibility-panel__toggle span:first-child {
  margin-right: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.accessibility-panel__box {
  position: absolute;
  right: 0;
  top: 60px;
  width: 380px;
  max-width: 90vw;
  padding: 1rem;
  background: #fffdf8;
  border: 2px solid #21170f;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(61, 39, 18, 0.18);
}

.accessibility-panel__title {
  margin: 0 0 0.4rem;
  color: #21170f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.15;
}

.accessibility-panel__box p {
  color: #625545;
  font-size: 0.95rem;
}

.accessibility-panel__controls {
  display: flex;
  flex-wrap: wrap;
  margin: -0.25rem;
}

.accessibility-panel__controls button {
  flex: 1 1 45%;
  margin: 0.25rem;
  padding: 0.65rem 0.75rem;
  color: #21170f;
  background: #fff7e6;
  border: 1px solid #21170f;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.accessibility-panel__controls button[aria-pressed="true"] {
  color: #fffdf8;
  background: #21170f;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #fff3cf 0%, #fff7e6 56%, #f1e0bd 100%);
}

.hero:after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 46%;
  height: 62%;
  background: #315d43;
  opacity: 0.16;
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 1180px;
  max-width: 94%;
  min-height: 760px;
  margin: 0 auto;
  padding: 4.5rem 0 3.4rem;
  display: flex;
  align-items: center;
}

.hero__copy {
  width: 52%;
}

.hero__visual {
  position: relative;
  width: 48%;
  min-height: 650px;
}

.hero__photo {
  overflow: hidden;
  width: 540px;
  max-width: 100%;
  margin: 1.4rem 0 1.6rem;
  border: 1px solid #e3d3b7;
  border-radius: 10px;
  box-shadow: 0 26px 80px rgba(61, 39, 18, 0.18);
}

.hero__photo img,
.story-media img,
.eu-card__logos img {
  width: 100%;
  transition: transform 700ms ease;
  animation: zpImageBreathe 7s ease-in-out infinite;
}

.hero__bottle {
  position: absolute;
  width: auto;
  filter: drop-shadow(0 34px 28px rgba(61, 39, 18, 0.22));
  transition: transform 500ms ease;
  animation: zpFloat 6.5s ease-in-out infinite;
}

.hero__bottle--main {
  left: 14%;
  top: 4%;
  z-index: 3;
  height: 690px;
}

.hero__bottle--side {
  right: -2%;
  top: 9%;
  z-index: 1;
  height: 540px;
  opacity: 0.9;
  animation-delay: 600ms;
}

.hero__bottle--wide {
  left: -5%;
  bottom: 3%;
  z-index: 2;
  height: 470px;
  opacity: 0.95;
  animation-delay: 1100ms;
}

.section {
  padding: 6rem 0;
}

.section__inner,
.stats,
.site-footer__inner {
  width: 1180px;
  max-width: 94%;
  margin: 0 auto;
}

.stats {
  display: flex;
  margin-top: -2.8rem;
  position: relative;
  z-index: 3;
  background: #fffdf8;
  border: 1px solid #e3d3b7;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(61, 39, 18, 0.18);
}

.stat {
  flex: 1 1 0;
  padding: 1.5rem;
  border-left: 1px solid #e3d3b7;
  transition: transform 180ms ease;
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.5rem;
  color: #625545;
}

.split {
  display: flex;
  align-items: center;
}

.story-media,
.copy {
  width: 50%;
}

.story-media {
  padding-right: 4rem;
}

.story-media img {
  border-radius: 10px;
  box-shadow: 0 26px 80px rgba(61, 39, 18, 0.18);
}

.copy p {
  color: #625545;
  font-size: 1.08rem;
}

.pill-list {
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.pill-list li {
  display: inline-block;
  margin: 0 0.4rem 0.5rem 0;
  padding: 0.45rem 0.7rem;
  background: #e7bd58;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.products {
  color: #21170f;
  background: #fff7e6;
}

.products h2,
.products h3 {
  color: #21170f;
}

.products .lead {
  color: #625545;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 2.8rem -0.7rem 0;
}

.product {
  width: 25%;
  padding: 0 0.7rem 1.4rem;
  color: #21170f;
  transition: transform 180ms ease;
}

.product__image,
.product__body {
  background: #fffdf8;
  border: 1px solid #e3d3b7;
  box-shadow: 0 18px 48px rgba(61, 39, 18, 0.1);
}

.product__image {
  min-height: 360px;
  padding: 1.5rem;
  text-align: center;
}

.product__image img {
  width: auto;
  max-height: 320px;
  margin: 0 auto;
  animation: zpFloatSoft 7s ease-in-out infinite;
}

.product__body {
  min-height: 220px;
  margin-top: -1px;
  padding: 1.45rem;
}

.product__body p {
  color: #625545;
  margin-bottom: 0;
}

.process {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 247, 230, 0.96)),
    #fff7e6;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem -0.5rem 0;
}

.step {
  width: 25%;
  padding: 0 0.5rem 1rem;
  transition: transform 180ms ease;
}

.step span {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: #fffdf8;
  background: #315d43;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 48px;
  text-align: center;
}

.step h3,
.step p {
  padding-right: 1rem;
}

.step p {
  color: #625545;
}

.eu-project {
  background: #ffffff;
}

.eu-card {
  padding: 3rem;
  background: #fffdf8;
  border: 1px solid #e3d3b7;
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(61, 39, 18, 0.12);
}

.eu-card__logos {
  overflow: hidden;
  max-width: 920px;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e3d3b7;
  border-radius: 8px;
}

.eu-card__content {
  max-width: 980px;
}

.eu-card__content section {
  margin-bottom: 1.6rem;
}

.eu-card__content p {
  color: #21170f;
  font-size: 1.1rem;
}

.amounts {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem -0.35rem 1.4rem;
}

.amounts div {
  width: 50%;
  padding: 0.8rem;
}

.amounts div strong,
.amounts div {
  background: #fff7e6;
  border-radius: 6px;
}

.site-footer {
  padding: 3rem 0;
  color: #fffdf8;
  background: #21170f;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  padding-top: 2rem;
}

.site-footer strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.site-footer__brand,
.site-footer__contact,
.site-footer__cooperation,
.site-footer__social {
  padding-right: 1.4rem;
}

.site-footer__brand {
  width: 28%;
}

.site-footer__contact {
  width: 24%;
  font-style: normal;
}

.site-footer__cooperation {
  width: 32%;
}

.site-footer__social {
  width: 16%;
  padding-right: 0;
  text-align: right;
}

.site-footer__brand span,
.site-footer__contact span,
.site-footer__cooperation p {
  display: block;
  margin: 0.45rem 0 0;
  color: #f3dfae;
}

.site-footer__contact span:first-child {
  color: #fffdf8;
  font-weight: 900;
}

.site-footer__cooperation a {
  display: inline-block;
  margin-top: 0.35rem;
  color: #fffdf8;
  font-weight: 900;
  text-decoration: underline;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  color: #fffdf8;
  border: 1px solid rgba(255, 253, 248, 0.45);
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  margin-right: 0.55rem;
}

@keyframes zpFloat {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
  100% {
    transform: translateY(0) rotate(-2deg);
  }
}

@keyframes zpFloatSoft {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes zpImageBreathe {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes menuIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .eu-strip__inner {
    max-width: 86%;
    padding: 0.75rem 0;
  }

  .nav {
    display: block;
    max-width: 88%;
    padding: 1rem 0;
  }

  .brand {
    display: inline-block;
    max-width: 68%;
  }

  .brand span:first-child {
    font-size: 2rem;
  }

  .brand span:last-child {
    font-size: 0.68rem;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    float: right;
    min-height: 50px;
    padding: 0.55rem 0.9rem;
    color: #21170f;
    background: #fffdf8;
    border: 2px solid #21170f;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
  }

  .nav__toggle:focus {
    outline: 4px solid #005fcc;
  }

  .nav__toggle-icon {
    position: relative;
    width: 22px;
    height: 16px;
    margin-right: 0.55rem;
  }

  .nav__toggle-icon:before,
  .nav__toggle-icon:after,
  .nav__toggle-icon {
    border-top: 3px solid #21170f;
  }

  .nav__toggle-icon:before,
  .nav__toggle-icon:after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
  }

  .nav__toggle-icon:before {
    top: 5px;
  }

  .nav__toggle-icon:after {
    top: 13px;
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-icon {
    border-top-color: transparent;
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-icon:before {
    top: 7px;
    transform: rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-icon:after {
    top: 7px;
    transform: rotate(-45deg);
  }

  .nav__panel {
    clear: both;
    display: none;
    width: 100%;
    margin-top: 1rem;
    padding: 1.1rem;
    background: #fffdf8;
    border: 1px solid #e3d3b7;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(61, 39, 18, 0.12);
  }

  .nav__panel.is-open {
    display: block;
    animation: menuIn 260ms ease both;
  }

  .nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e3d3b7;
  }

  .nav__panel-head span {
    color: #7b1d31;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .nav__panel-head strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
  }

  .nav__links {
    display: block;
  }

  .nav__links a {
    display: flex;
    align-items: center;
    min-height: 64px;
    margin: 0 0 0.65rem;
    padding: 0.75rem 1rem;
    color: #21170f;
    background: #ffffff;
    border: 1px solid #e3d3b7;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(61, 39, 18, 0.06);
  }

  .nav__links a span {
    display: inline-block;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin-right: 1rem;
    color: #7b1d31;
    background: #fff0cc;
    border-radius: 50%;
    font-size: 0.85rem;
    line-height: 42px;
    text-align: center;
  }

  .accessibility-panel {
    margin: 1rem 0 0;
  }

  .accessibility-panel__toggle {
    justify-content: center;
    width: 100%;
  }

  .accessibility-panel__box {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 0.8rem;
  }

  .hero__inner {
    display: block;
    min-height: 0;
    padding: 4rem 0 2.8rem;
  }

  .hero__copy,
  .hero__visual {
    width: 100%;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .hero__visual {
    min-height: 530px;
    margin-top: 1rem;
  }

  .hero__bottle--main {
    left: 22%;
    height: 520px;
  }

  .hero__bottle--side {
    right: 2%;
    height: 380px;
  }

  .hero__bottle--wide {
    left: 0;
    height: 350px;
  }

  .stats,
  .split,
  .site-footer__inner {
    display: block;
  }

  .site-footer__brand,
  .site-footer__contact,
  .site-footer__cooperation,
  .site-footer__social {
    width: 100%;
    padding-right: 0;
    margin-bottom: 1.3rem;
    text-align: left;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid #e3d3b7;
  }

  .stat:first-child {
    border-top: 0;
  }

  .story-media,
  .copy {
    width: 100%;
  }

  .story-media {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .product {
    width: 50%;
  }

  .step {
    width: 50%;
  }

  .site-footer__inner > * {
    display: block;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    max-width: 86%;
  }

  .brand span:first-child {
    font-size: 1.65rem;
  }

  .brand span:last-child {
    font-size: 0.58rem;
  }

  .nav__toggle {
    padding: 0.45rem 0.72rem;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero__visual {
    min-height: 440px;
  }

  .hero__bottle--main {
    left: 18%;
    height: 440px;
  }

  .hero__bottle--side {
    right: -8%;
    height: 320px;
  }

  .hero__bottle--wide {
    left: -8%;
    height: 290px;
  }

  .product,
  .step,
  .amounts div {
    width: 100%;
  }

  .eu-card {
    padding: 1.2rem;
  }

  .accessibility-panel__controls button {
    flex-basis: 100%;
  }
}

body.zp-contrast p,
body.zp-contrast p *,
body.zp-contrast main p,
body.zp-contrast main p *,
body.zp-contrast .lead,
body.zp-contrast .lead *,
body.zp-contrast .products .lead,
body.zp-contrast .products .lead *,
body.zp-contrast .process .lead,
body.zp-contrast .process .lead *,
body.zp-contrast .story p,
body.zp-contrast .story p *,
body.zp-contrast .copy p,
body.zp-contrast .copy p *,
body.zp-contrast .stat span,
body.zp-contrast .product__body p,
body.zp-contrast .product__body p *,
body.zp-contrast .step p,
body.zp-contrast .step p *,
body.zp-contrast .eu-card__content p,
body.zp-contrast .eu-card__content p *,
body.zp-contrast .amounts,
body.zp-contrast .amounts *,
body.zp-contrast .site-footer span {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.zp-contrast .products .product .product__body,
body.zp-contrast .product .product__body,
body.zp-contrast .product__body {
  color: #ffffff !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border-color: #ffffff !important;
}

body.zp-contrast .products .product .product__body p,
body.zp-contrast .products .product .product__body p *,
body.zp-contrast .product__body p,
body.zp-contrast .product__body p * {
  color: #ffffff !important;
}

body.zp-contrast .products .product .product__image,
body.zp-contrast .product .product__image,
body.zp-contrast .product__image {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}
