:root {
  --ink: #24313a;
  --muted: #69747b;
  --line: #ddebf0;
  --paper: #ffffff;
  --soft: #f4fafc;
  --warm: #fff8f5;
  --blue: #2db2df;
  --red: #e84b38;
  --blue-dark: #087da4;
  --blue-soft: #e7f7fc;
  --red-soft: #fff0ed;
  --shadow: 0 18px 45px rgba(33, 88, 106, 0.09);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 48%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.site-notice {
  padding: 10px clamp(20px, 5vw, 72px);
  color: #5a4a14;
  background: #fff6d8;
  border-bottom: 1px solid #efd98d;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 168px;
}

.brand img {
  display: block;
  width: min(230px, 42vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #40515b;
  text-decoration: none;
}

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

.nav-cta,
.button {
  border: 1px solid var(--blue);
  text-decoration: none;
}

.nav .nav-cta {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 25px rgba(45, 178, 223, 0.22);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(54px, 9vw, 108px) clamp(20px, 5vw, 72px) 44px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88)),
    radial-gradient(circle at 88% 14%, rgba(45, 178, 223, 0.2), transparent 34%),
    radial-gradient(circle at 70% 88%, rgba(232, 75, 56, 0.1), transparent 28%),
    linear-gradient(135deg, #ffffff, #f2fbfe);
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.eyebrow,
.service-label {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 750;
}

.button.compact {
  min-height: 44px;
  padding: 10px 16px;
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 28px rgba(45, 178, 223, 0.22);
}

.button.secondary {
  background: white;
  color: var(--blue-dark);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-card:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 54px rgba(33, 88, 106, 0.13);
  transform: translateY(-2px);
}

.hero-card span {
  margin-bottom: auto;
  color: var(--blue);
  font-weight: 800;
}

.hero-card strong {
  max-width: 340px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.04;
}

.hero-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.hero-card.accent {
  background: linear-gradient(135deg, var(--red-soft), #ffffff 62%, var(--blue-soft));
  color: var(--ink);
  border-color: #f3d6cf;
}

.hero-card.accent p {
  color: var(--muted);
}

.hero-card.warm {
  background: linear-gradient(135deg, #ffffff, var(--warm));
  border-color: #f3ddd7;
}

.hero-card.warm span {
  color: var(--red);
}

.quick-info {
  background: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info a {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px clamp(20px, 5vw, 72px);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.quick-info a:last-child {
  border-right: 0;
}

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

.quick-info strong {
  margin-top: 4px;
  font-size: 1.08rem;
}

.section,
.page {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.muted {
  background: linear-gradient(135deg, var(--soft), var(--warm));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1650 / 600;
  background: linear-gradient(135deg, var(--blue-soft), #ffffff);
}

.image-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.document-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 24px;
}

.document-visual div {
  background:
    radial-gradient(circle at 50% 28%, #d9b6a5 0 13%, transparent 14%),
    linear-gradient(#f3fbfe 0 52%, #ffffff 52%);
  border: 1px solid #d3edf5;
}

.prints-visual {
  display: grid;
  place-items: center;
}

.prints-visual div {
  position: absolute;
  width: 48%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, rgba(232,75,56,0.58), rgba(45,178,223,0.72)),
    linear-gradient(#fff, #fff);
  border: 12px solid white;
  box-shadow: 0 16px 35px rgba(20, 28, 34, 0.16);
}

.prints-visual div:nth-child(1) {
  transform: rotate(-9deg) translate(-22%, -4%);
}

.prints-visual div:nth-child(2) {
  transform: rotate(5deg) translate(8%, 2%);
}

.prints-visual div:nth-child(3) {
  transform: rotate(14deg) translate(28%, 20%);
}

.restoration-visual {
  background:
    linear-gradient(135deg, rgba(255, 248, 245, 0.94), rgba(231, 247, 252, 0.74)),
    linear-gradient(90deg, #f7eee8, #ffffff);
}

.restoration-visual div {
  position: absolute;
  width: 48%;
  aspect-ratio: 4 / 5;
  border: 12px solid #fff;
  box-shadow: 0 16px 35px rgba(84, 66, 55, 0.14);
}

.restoration-visual div:nth-child(1) {
  left: 18%;
  top: 18%;
  background:
    linear-gradient(rgba(70, 50, 40, 0.15), rgba(70, 50, 40, 0.15)),
    linear-gradient(135deg, #cdb39f, #f2e1d6);
  transform: rotate(-7deg);
  filter: sepia(0.45);
}

.restoration-visual div:nth-child(2) {
  right: 16%;
  top: 15%;
  background:
    linear-gradient(135deg, rgba(45, 178, 223, 0.22), rgba(232, 75, 56, 0.16)),
    linear-gradient(135deg, #fff, #edf8fb);
  transform: rotate(5deg);
}

.service-content {
  padding: 28px;
}

.service-content h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.04;
}

.service-content p {
  color: var(--muted);
}

.service-content ul {
  padding-left: 18px;
  color: #40515b;
}

.service-content li + li {
  margin-top: 6px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.future-grid div {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.future-grid span {
  font-weight: 850;
  font-size: 1.25rem;
}

.future-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.studio-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.studio-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.studio-feature-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.studio-feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.school-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, var(--soft), #ffffff);
  border-top: 1px solid var(--line);
}

.school-feature-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.school-feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.school-feature-visual {
  aspect-ratio: 1600 / 872;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-color: var(--soft);
  background-image: url("baner_1600x900_szkola.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.school-feature-visual.detail-visual {
  width: 100%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
}

.contact-lead,
.contact-list,
.hours {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--ink);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
}

.hours {
  padding: 20px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
}

.hours h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.hours p {
  margin: 6px 0;
}

.map-card {
  min-height: 470px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fbfdfe;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page {
  min-height: calc(100vh - 172px);
}

.page-hero {
  max-width: 960px;
  margin-bottom: 34px;
}

.price-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.price-list article {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
}

.price-list article:nth-child(1) {
  background: linear-gradient(90deg, #ffffff, var(--blue-soft));
}

.price-list article:nth-child(2) {
  background: linear-gradient(90deg, #ffffff, #f8fcfd);
}

.price-list article:nth-child(3) {
  background: linear-gradient(90deg, #ffffff, var(--red-soft));
}

.price-list article:nth-child(n+4) {
  background: linear-gradient(90deg, #ffffff, #fffaf8);
}

.price-list h2,
.text-page h2 {
  margin: 0 0 8px;
}

.price-list p,
.text-page p {
  margin: 0;
  color: var(--muted);
}

.text-page ul,
.text-page ol {
  margin: 0;
  color: var(--muted);
}

.text-page li + li {
  margin-top: 6px;
}

.price-list strong {
  flex: 0 0 auto;
  font-size: 1.4rem;
}

.legal {
  max-width: 980px;
}

.text-page {
  display: grid;
  gap: 26px;
}

.pricing-section {
  margin-top: 44px;
}

.pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.pricing-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.pricing-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.price-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table td:last-child,
.price-table th:last-child {
  width: 190px;
  font-weight: 800;
  text-align: right;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table .table-group td {
  background: var(--warm);
  color: var(--blue-dark);
  font-weight: 850;
  text-align: left;
}

.price-note {
  max-width: 900px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-page {
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.service-detail-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.service-detail-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.service-detail-hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  margin-top: clamp(36px, 6vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-grid article {
  min-height: 210px;
  padding: 24px;
  background: white;
}

.detail-grid h2 {
  margin: 0 0 8px;
}

.detail-grid p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .service-detail-hero,
  .services-grid,
  .studio-feature,
  .school-feature,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .quick-info,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .quick-info a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav a {
    padding-left: 0;
  }

  .nav .nav-cta {
    width: 100%;
    justify-content: center;
    padding-left: 14px;
  }

  .actions,
  .button,
  .price-list article {
    width: 100%;
  }

  .pricing-heading {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .price-list article {
    flex-direction: column;
  }

  .document-visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
