/*
Theme Name: Mazurskie Studio Color
Theme URI: https://mazurskiestudio.pl/
Author: Mazurskie Studio
Description: Kolorowa, nowoczesna wizytówka WordPress inspirowana stronami narzędzi kreatywnych.
Version: 4.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: mazurskie-studio-color
*/

:root {
  --blue: #2554ff;
  --red: #ff1820;
  --violet: #7c3cff;
  --cyan: #00aee8;
  --green: #11a76f;
  --orange: #ff8a00;
  --ink: #101320;
  --muted: #656d7d;
  --soft: #f6f8ff;
  --line: rgba(16, 19, 32, 0.1);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 130px;
  height: 52px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 22px;
  color: #31384b;
  font-size: 0.94rem;
  font-weight: 800;
}

nav a:hover {
  color: var(--blue);
}

.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(37, 84, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
  min-height: 680px;
  padding: clamp(44px, 5.5vw, 74px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 24, 32, 0.14), transparent 26%),
    radial-gradient(circle at 75% 12%, rgba(37, 84, 255, 0.18), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(0, 174, 232, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-lead,
.intro p,
.dtf p,
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(255, 24, 32, 0.22);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3b4355;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-visual {
  min-height: 440px;
}

.hero-visual img {
  width: 100%;
  height: min(50vw, 500px);
  min-height: 340px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(28, 40, 82, 0.2);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  max-width: 230px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(29, 42, 86, 0.2);
  backdrop-filter: blur(14px);
}

.floating-card strong {
  font-size: 1.08rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-one {
  left: -18px;
  bottom: 58px;
}

.card-two {
  right: 18px;
  top: 34px;
}

.tool-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.tool-strip div {
  min-height: 102px;
  padding: 22px clamp(18px, 4vw, 40px);
  background: var(--white);
}

.tool-strip strong,
.tool-strip span {
  display: block;
}

.tool-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(48px, 6.5vw, 88px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.tools {
  background: var(--soft);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.tool-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(29, 42, 86, 0.07);
}

.badge {
  display: inline-flex;
  margin-bottom: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.badge.blue { background: var(--blue); }
.badge.red { background: var(--red); }
.badge.violet { background: var(--violet); }
.badge.green { background: var(--green); }
.badge.orange { background: var(--orange); }
.badge.cyan { background: var(--cyan); }

.tool-grid p,
.process span,
footer {
  color: var(--muted);
}

.dtf {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 88px);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(37, 84, 255, 0.95), rgba(124, 60, 255, 0.92) 48%, rgba(255, 24, 32, 0.9));
  color: var(--white);
}

.dtf .eyebrow,
.dtf p {
  color: rgba(255, 255, 255, 0.86);
}

.price-panel {
  display: grid;
  align-content: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.price-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-transform: uppercase;
}

.price-panel strong {
  display: block;
  margin: 12px 0 18px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.04;
}

.process {
  background: var(--white);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process li {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  counter-increment: steps;
}

.process li::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 900;
}

.process strong,
.process span {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 138, 0, 0.24), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(37, 84, 255, 0.32), transparent 30%),
    #101320;
  color: var(--white);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 17px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-actions a:first-child {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .tool-strip,
  .intro,
  .tool-grid,
  .dtf,
  .process ol,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand img {
    width: 96px;
    height: 42px;
  }

  .header-call {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero,
  .section,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    height: 360px;
    min-height: 360px;
  }

  .floating-card {
    max-width: 190px;
    padding: 14px;
  }

  .card-one {
    left: 10px;
    bottom: 26px;
  }

  .card-two {
    right: 10px;
    top: 22px;
  }

  .button {
    width: 100%;
  }

  .tool-grid article,
  .price-panel,
  .process li {
    padding: 23px;
  }

  footer {
    display: grid;
    padding-left: 16px;
    padding-right: 16px;
  }
}
