/* ============================================================
   FOTO-KMIEÄ† â€” STEP 05/33 FINAL EDITABLE
   Ostatnia referencja uÅ¼ytkownika = ÅºrÃ³dÅ‚o prawdy wizualnej.
   ============================================================ */

:root {
  --blue: #0765b4;
  --blue-dark: #07589f;
  --orange: #f49818;
  --ink: #113a59;
  --muted: #6585a1;
  --page: #fbfaf7;
  --surface: #ffffff;
  --line: #e8e5df;
  --footer: #24353d;
  --page-width: 1100px;
  --gutter: 35px;
  --radius: 13px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--page-width));
  margin-inline: auto;
}

/* HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.97);
}
.header-row {
  padding-top: 15px;
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand img {
  width: 175px;
  height: auto;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}
.main-nav a {
  position: relative;
  color: #26638f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--orange);
}
.upload-btn {
  min-width: 196px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  background: var(--orange);
  box-shadow: 0 7px 18px rgba(244, 152, 24, 0.22);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.upload-icon {
  font-size: 23px;
  transform: translateY(3px);
}

/* HERO */
.hero-section {
  display: grid;
  grid-template-columns: 56.5% 42.5%;
  gap: 16px;
  padding-top: 20px;
}
.hero-main-card {
  position: relative;
  min-height: 632px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(111, 150, 89, 0.2),
      transparent 25%
    ),
    linear-gradient(135deg, #fff8ef 0%, #f6e4d0 55%, #ead7c2 100%);
  background-image: url("../images/hero-photo.jpg");
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 14px 0px rgb(233 224 200);
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding: 92px 25px 0;
}
.hero-copy h1 {
  margin: 0;
  color: var(--blue);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
}
.hero-copy h1 span {
  color: var(--orange);
}
.hero-copy p {
  margin: 24px 0 0;
  color: #276a9d;
  font-size: 20px;
  line-height: 1.3;
}
.hero-note {
  position: absolute;
  z-index: 4;
  top: 42px;
  right: 38px;
  color: #2d75ad;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-7deg);
}
.hero-photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 58%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-cta {
  position: absolute;
  z-index: 5;
  left: 25px;
  bottom: 23px;
  min-width: 305px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero-cta span {
  font-size: 29px;
  font-weight: 300;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.hero-side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr 0.66fr;
  gap: 16px;
}
.side-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--blue-dark);
  text-decoration: none;
}
.calendar-card {
  background: #e4f5f0;
  background-image: url("../images/calendar-product.jpg?v=30-final");
  background-position: right top;
  background-size: cover;
  box-shadow: 0px 0px 14px 0px rgb(233 224 200);
  background-repeat: no-repeat;
}
.book-card {
  background: #f9e8f1;
  background-image: url("../images/photobook-product.jpg?v=r29-502a3f04fa");
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 14px 0px rgb(233 224 200);
}
.local-card {
  background: #e5f4fb;
  background-image: url("../images/local-product.jpg");
  background-position: right center;
  background-size: cover;
  box-shadow: 0px 0px 14px 0px rgb(233 224 200);
}
.side-copy {
  position: absolute;
  z-index: 4;
  left: 24px;
  top: 20px;
}
.side-copy h2 {
  margin: 0 0 8px;
  font-size: 31px;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.side-copy p {
  margin: 0;
  color: #4383aa;
  font-size: 16px;
  line-height: 1.3;
}
.side-card > img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64%;
  height: 84%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}
.book-card > img {
  width: 73%;
  height: 78%;
}
.local-card > img {
  width: 62%;
  height: 78%;
}
.circle-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-top: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  color: #2879b3;
  font-size: 28px;
}
.side-handnote {
  position: absolute;
  z-index: 5;
  top: 118px;
  left: 88px;
  color: #307eb8;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 15px;
  line-height: 1.25;
  transform: rotate(-8deg);
}
.side-handnote--book {
  top: auto;
  left: auto;
  right: 18px;
  bottom: 18px;
}
.side-handnote--local {
  top: 36px;
  left: auto;
  right: 22px;
}

/* PROMO */
.promo-strip {
  min-height: 100px;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 4% 50%, #b31e08 0 5%, transparent 20%),
    radial-gradient(circle at 96% 50%, #b31e08 0 5%, transparent 20%),
    linear-gradient(90deg, #c42b09, #ff7b0d 35%, #ff9a12 62%, #cb2a08);
  color: #fff;
  box-shadow: inset 0 0 34px rgba(125, 20, 0, 0.25);
  background-image: url('../images/discount-label.png');
  background-size: cover;
  background-position:center;
  box-shadow: 0px 0px 14px 0px rgb(233 224 200);
}

.step-upload {
  background-image: url('../images/step-upload.webp');
  background-position: center right;
  background-size: cover;
}

.step-config {
  background-image: url('../images/step-config.webp');
  background-position: center right;
  background-size: cover;
}

.step-order {
  background-image: url('../images/step-order.webp');
  background-position: center right;
  background-size: cover;
}

.promo-title {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.promo-code-label {
  font-size: 25px;
}
.promo-code {
  padding: 5px 12px;
  border-radius: 7px;
  background: #fff;
  color: #d23212;
  font-size: 28px;
}
.copy-code {
  width: 42px;
  height: 42px;
  border: 0;
  line-height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #273f4d;
  cursor: pointer;
  font-size: 23px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;;
}

/* BENEFITS */
.benefits {
  min-height: 99px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-top: 44px;
  margin-bottom: 52px;
  box-shadow: 0px 0px 14px 0px rgba(233, 224, 200, 0.4);
  border-radius: 10px;
}
.benefit {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
}
.benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: #e3e6e7;
}
.benefit-icon {
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}
.benefit h3 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 14px;
}
.benefit p {
  margin: 0;
  color: #7d9ab0;
  font-size: 14px;
  line-height: 1.35;
}

/* STEPS */
.steps-section {
  min-height: 230px;
  padding: 21px 25px 18px;
  padding-top: 40px;
  margin-bottom:40px;
  padding-bottom: 50px;
  border-radius: 0 0 12px 12px;
  /* background: linear-gradient(135deg, #fff 0%, #fff 60%, #fff9f0 100%); */
  box-shadow: 0px 0px 14px 0px rgba(233, 224, 200, 0.4);
  border-radius: 10px;
}
.steps-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 44px;
}

.steps-heading h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 34px;
  letter-spacing: -0.02em;
}
.steps-heading span {
  margin-right: 20px;
  color: var(--orange);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 20px;
  transform: rotate(-5deg);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}
.step-card {
  position: relative;
  min-height: 155px;
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  text-decoration: none;
}
.step-number {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--orange);
  font-size: 35px;
  font-weight: 700;
}
.step-card img {
  grid-column: 2;
  width: 155px;
  max-height: 118px;
  justify-self: center;
  object-fit: contain;
}
.step-copy {
  grid-column: 1 / -1;
  align-self: end;
}
.step-copy h3 {
  margin: 0 0 5px;
  color: var(--blue-dark);
  font-size: 16px;
}
.step-copy p {
  margin: 0;
  color: #83a0b5;
  font-size: 14px;
  line-height: 1.35;
}
.step-chevron {
  color: var(--blue);
  font-size: 35px;
  font-weight: 300;
  text-align: center;
}

/* CONTACT */
.contact-section {
  padding: 17px 0 22px;
  padding-top: 60px;
  padding-bottom: 100px;
  background: linear-gradient(#fff, #fbfbfa);
}
.contact-heading p {
  margin: 0 0 6px;
  color: #5f8eaf;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}
.contact-heading h2 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 34px;
  margin-bottom: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 36% 1fr 31%;
  gap: 14px;
  min-height: 200px;
}
.google-map {
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f4;
}
.google-map iframe {
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
  filter: none;
}
.contact-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 10px 20px;
  color: #39749d;
  font-size: 11px;
  font-style: normal;
}
.contact-data > div {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 7px;
  align-items: start;
}
.contact-data span {
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}
.contact-data p {
  margin: 0;
  line-height: 1.35;
  font-size: 15px;
}
.contact-data a {
  text-decoration: none;
}
.company-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}
.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOOTER */
.site-footer {
  min-height: 145px;
  padding-top: 15px;
  background: linear-gradient(110deg, #26383f, #1f3239);
  color: rgba(255, 255, 255, 0.78);
}
.footer-main {
  min-height: 70px;
  display: grid;
  grid-template-columns: 250px 1fr 120px;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  width: 195px;
  height: auto;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.73);
  font-size: 13px;
  text-decoration: none;
}
.socials {
  display: flex;
  justify-content: flex-end;
  gap: 17px;
}
.socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.footer-bottom {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top:20px;
  padding-bottom:32px;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
}
.footer-thanks {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 14px !important;
  font-style: italic;
}
.footer-thanks i {
  width: 45px;
  height: 2px;
  display: block;
  transform: rotate(-7deg);
  background: var(--orange);
}

/* TABLET */
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }
  .header-row {
    grid-template-columns: auto 1fr;
  }
  .main-nav {
    display: none;
  }
  .upload-btn {
    justify-self: end;
  }
  .hero-section {
    grid-template-columns: 1fr;
  }
  .hero-main-card {
    min-height: 610px;
  }
  .hero-side-stack {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 230px);
  }
  .promo-title {
    font-size: 27px;
  }
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    gap: 50px;
  }

  .step-config, .step-upload, .step-order {
    background-size: contain;
    background-repeat: no-repeat;
  }

  .benefit:nth-child(2)::after {
    display: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-chevron {
    display: none;
  }
  .step-card {
    min-height: 170px;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .google-map {
    grid-column: 1 / -1;
    min-height: 300px;
  }
  .company-photo {
    min-height: 250px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 20px 0;
    text-align: center;
  }
  .footer-logo {
    margin-inline: auto;
  }
  .footer-nav {
    flex-wrap: wrap;
  }
  .socials {
    justify-content: center;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  :root {
    --gutter: 14px;
  }
  .brand img {
    width: 190px;
  }
  .upload-btn {
    min-width: 125px;
    padding: 0 12px;
    font-size: 10px;
  }
  .hero-main-card {
    min-height: 560px;
  }
  .hero-copy {
    padding: 55px 18px 0;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-copy p {
    font-size: 16px;
  }
  .hero-note {
    display: none;
  }
  .hero-cta {
    left: 18px;
    right: 18px;
    min-width: 0;
  }
  .side-copy h2 {
    font-size: 27px;
  }
  .promo-strip {
    min-height: 140px;
    flex-wrap: wrap;
    gap: 9px 13px;
    padding: 14px;
  }
  .promo-title {
    width: 100%;
    text-align: center;
    font-size: 25px;
  }
  .promo-code-label {
    font-size: 19px;
  }
  .promo-code {
    font-size: 22px;
  }
  .benefits {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
  .benefit {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .benefit::after {
    display: none !important;
  }
  .steps-section {
    padding-inline: 18px;
  }
  .steps-grid {
    gap: 50px;
  }
  
  .contact-data {
    padding-top:44px;
    padding-bottom:44px;
  }

  .steps-heading h2 {
    font-size: 23px;
  }
  .steps-heading span {
    font-size: 16px;
    margin-right: 0;
  }
  .step-card {
    grid-template-columns: 72px 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .google-map {
    grid-column: auto;
  }
  .company-photo {
    min-height: 230px;
  }
  .footer-nav {
    gap: 13px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 20px;
  }
}
