/*
Theme Name: Anetta Dekoracja Okien
Theme URI: https://anetta.slupsk.pl/
Author: OpenAI / ChatGPT
Description: Lekki, responsywny motyw WordPress dla salonu Anetta Dekoracja Okien w Slupsku. Strona typu landing page: oferta, galeria, proces, FAQ i kontakt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anetta-dekoracja-okien
Tags: custom-logo, one-page, responsive-layout, local-business
*/
:root {
  --orange: #f86309;
  --orange-dark: #c94b00;
  --ink: #1f1b18;
  --muted: #6f645d;
  --paper: #fffaf5;
  --warm: #f6eadf;
  --line: rgba(31, 27, 24, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(60, 35, 18, 0.14);
  --radius: 28px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.88);
  font-size: .9rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 245, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: min(480px, 58vw); flex: 0 1 480px; text-decoration: none; }
.brand img { width: 100%; }
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
}
.nav-menu a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(248, 99, 9, .12), transparent 30%),
    linear-gradient(180deg, #fff7ef 0%, var(--paper) 68%);
}
.hero__grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
  align-items: center;
  gap: 58px;
  padding: 70px 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.9rem); max-width: 780px; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: 1.35rem; }
.hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: var(--white); box-shadow: 0 14px 30px rgba(248, 99, 9, .25); }
.button--primary:hover { background: var(--orange-dark); }
.button--secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.button--light { background: var(--white); color: var(--ink); }
.button--full { width: 100%; margin-top: 18px; }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 38px 0 0;
}
.hero__facts div {
  padding: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.hero__facts dt { color: var(--muted); font-size: .82rem; font-weight: 750; }
.hero__facts dd { margin: 4px 0 0; font-weight: 850; }
.hero__visual { position: relative; min-height: 540px; }
.fabric-card {
  min-height: 520px;
  border-radius: 44px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.15)),
    repeating-linear-gradient(90deg, #fdf6ee 0 34px, #ead4c2 34px 58px, #f86309 58px 66px, #f7e2cf 66px 100px);
  border: 1px solid rgba(255,255,255,.72);
  position: relative;
  overflow: hidden;
}
.fabric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 22%, rgba(255,255,255,.9), transparent 17%),
    radial-gradient(circle at 20% 75%, rgba(31,27,24,.18), transparent 24%);
  mix-blend-mode: soft-light;
}
.fabric-card__label {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 16px 18px;
  color: var(--white);
  background: rgba(31, 27, 24, .72);
  border-radius: 18px;
  font-weight: 800;
  text-align: center;
}
.fabric-stack {
  position: absolute;
  left: -38px;
  bottom: 18px;
  display: flex;
  gap: 12px;
  transform: rotate(-5deg);
}
.fabric-stack span {
  display: block;
  width: 58px;
  height: 210px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 18px 30px rgba(60, 35, 18, .18);
}
.fabric-stack span:nth-child(2) { background: #f1d5be; height: 240px; }
.fabric-stack span:nth-child(3) { background: #9f8d82; height: 190px; }
.fabric-stack span:nth-child(4) { background: #2b2623; height: 230px; }

.trust-band { padding: 0 0 34px; }
.trust-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: translateY(-24px);
}
.trust-band p {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 45px rgba(60, 35, 18, .08);
  color: var(--muted);
}
.trust-band strong { color: var(--ink); }

.section { padding: 88px 0; }
.section--warm { background: var(--warm); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: rgba(255,255,255,.75); }
.section__grid { display: grid; grid-template-columns: .72fr 1fr; gap: 54px; align-items: start; }
.section__intro p:not(.eyebrow), .section__heading p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.section__heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section__heading--left { margin-inline: 0; text-align: left; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(60, 35, 18, .07);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(248, 99, 9, .11);
  color: var(--orange-dark);
  font-weight: 900;
}
.card p { color: var(--muted); margin-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-card {
  min-height: 330px;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  overflow: hidden;
  color: var(--white);
  background: url('http://anetta.slupsk.pl/wp-content/uploads/2026/07/WhatsApp-Image-2026-07-01-at-18.30.19.jpeg') cover center;
  box-shadow: 0 20px 50px rgba(60, 35, 18, .13);
}
.gallery-card--two { background: linear-gradient(135deg, #6b594d, #d8b090); }
.gallery-card--three { background: linear-gradient(135deg, #2b2623, #b3a096); }
.gallery-card--four { background: linear-gradient(135deg, #f86309, #f8d0b7); }
.gallery-card--five { background: linear-gradient(135deg, #8e6549, #f2e0d1); }
.gallery-card--six { background: linear-gradient(135deg, #4d3f39, #f86309); }
.gallery-card span {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  font-weight: 850;
}
.gallery-card figcaption {
  max-width: 280px;
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.22;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

.process { display: grid; grid-template-columns: .6fr 1fr; gap: 56px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 24px 24px 86px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(60, 35, 18, .06);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
}
.steps strong { display: block; font-size: 1.1rem; }
.steps span { display: block; color: var(--muted); margin-top: 5px; }

.split-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.split-cta div { max-width: 770px; }

.faq { max-width: 900px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 24px;
  margin-top: 14px;
}
.faq summary { cursor: pointer; font-weight: 850; font-size: 1.08rem; }
.faq p { color: var(--muted); margin-bottom: 0; }

.contact { background: linear-gradient(180deg, var(--paper), #fff); }
.contact__grid { display: grid; grid-template-columns: 1fr 390px; gap: 40px; align-items: stretch; }
.contact__content {
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact__content p:not(.eyebrow) { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: #fffaf6;
}
.contact-list span { color: var(--muted); overflow-wrap: anywhere; }
.hours-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.hours-card dl { margin: 22px 0 0; }
.hours-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hours-card dt { color: rgba(255,255,255,.76); }
.hours-card dd { margin: 0; font-weight: 850; }
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__inner { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; }
.footer a { color: var(--white); text-underline-offset: 4px; }

@media (max-width: 980px) {
  .topbar__inner { flex-direction: column; gap: 2px; }
  .nav { min-height: 76px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { display: block; padding: 12px; }
  .hero__grid,
  .section__grid,
  .process,
  .contact__grid { grid-template-columns: 1fr; }
  .hero__grid { min-height: auto; padding-top: 52px; }
  .hero__visual { min-height: 430px; }
  .fabric-card { min-height: 420px; }
  .trust-band__grid,
  .gallery-grid { grid-template-columns: 1fr; transform: none; }
  .cards { grid-template-columns: 1fr; }
  .split-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar { font-size: .78rem; }
  .brand { width: min(320px, 66vw); }
  .section { padding: 64px 0; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__actions .button { width: 100%; }
  .card, .contact__content, .hours-card { padding: 24px; border-radius: 22px; }
  .gallery-card { min-height: 260px; }
  .footer__inner { flex-direction: column; }
}

/* WordPress compatibility */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
html { scroll-padding-top: 120px; }
.brand .custom-logo { width: 100%; height: auto; max-height: 90px; object-fit: contain; }
.page-content { padding: 88px 0; }
.page-content .container { max-width: 900px; }
.page-content h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 24px; }
.page-content p, .page-content li { color: var(--muted); }
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption, .wp-caption img { max-width: 100%; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.2);
  clip: auto !important;
  clip-path: none;
  color: var(--white);
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 12px;
  line-height: normal;
  padding: 10px 14px;
  text-decoration: none;
  top: 12px;
  width: auto;
  z-index: 100000;
}

/* System Wave */
.wave-section {
  padding: 96px 24px;
  background:
    radial-gradient(circle at top left, rgba(248, 99, 9, 0.12), transparent 34%),
    linear-gradient(135deg, #fffaf6 0%, #ffffff 48%, #f8efe7 100%);
  color: #2a1b12;
  overflow: hidden;
}

.wave-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.wave-content h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #24150f;
}

.wave-lead {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: #604b3d;
}

.wave-benefits {
  margin: 34px 0 26px;
  display: grid;
  gap: 16px;
}

.wave-benefit {
  padding: 20px 22px;
  border: 1px solid rgba(248, 99, 9, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(87, 45, 20, 0.07);
}

.wave-benefit strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  color: #24150f;
}

.wave-benefit span {
  display: block;
  font-size: 15.5px;
  line-height: 1.65;
  color: #6a5548;
}

.wave-note {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #6a5548;
}

.wave-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.wave-visual {
  position: relative;
}

.wave-card {
  position: relative;
  min-height: 540px;
  padding: 42px 34px 30px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(87, 45, 20, 0.16);
  border: 1px solid rgba(248, 99, 9, 0.14);
  overflow: hidden;
}

.wave-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(248, 99, 9, 0.12);
  pointer-events: none;
}

.wave-track {
  position: relative;
  height: 14px;
  margin: 8px 6px 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7c4b5, #f86309, #d7c4b5);
  box-shadow: 0 10px 24px rgba(248, 99, 9, 0.18);
}

.wave-curtain {
  position: relative;
  height: 360px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7f0 0%, #f4ded0 100%);
}

.wave-curtain span {
  display: block;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.72), rgba(248,99,9,0.10), rgba(105,57,31,0.10), rgba(255,255,255,0.62));
  border-left: 1px solid rgba(255,255,255,0.72);
  border-right: 1px solid rgba(91, 51, 29, 0.07);
  transform-origin: top center;
}

.wave-curtain span:nth-child(odd) {
  border-radius: 0 0 38px 38px;
  box-shadow: inset -22px 0 32px rgba(105, 57, 31, 0.08);
}

.wave-curtain span:nth-child(even) {
  border-radius: 0 0 18px 18px;
  box-shadow: inset 22px 0 32px rgba(255,255,255,0.62);
}

.wave-card p {
  position: relative;
  margin: 24px 0 0;
  text-align: center;
  font-size: 15px;
  color: #7a6253;
}

@media (max-width: 900px) {
  .wave-section {
    padding: 72px 18px;
  }

  .wave-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .wave-card {
    min-height: 420px;
  }

  .wave-curtain {
    height: 270px;
  }
}

@media (max-width: 560px) {
  .wave-content h2 {
    font-size: 34px;
  }

  .wave-lead {
    font-size: 17px;
  }

  .wave-actions {
    flex-direction: column;
  }

  .wave-actions .btn {
    width: 100%;
    text-align: center;
  }

  .wave-card {
    padding: 30px 20px 24px;
    border-radius: 28px;
    min-height: 360px;
  }

  .wave-card::before {
    inset: 14px;
    border-radius: 22px;
  }

  .wave-curtain {
    height: 230px;
  }
}
	/* Zdjęcie w sekcji System Wave */
.wave-photo-card {
  position: relative;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(87, 45, 20, 0.16);
  border: 1px solid rgba(248, 99, 9, 0.14);
}

.wave-photo-card img {
  display: block;
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center;
border: 1px solid rgba(248, 99, 9, 0.14);
border-radius: 15px;

}

.wave-photo-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  color: #2a1b12;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(87, 45, 20, 0.12);
}

@media (max-width: 900px) {
  .wave-photo-card img {
    height: 420px;
  }
}

@media (max-width: 560px) {
  .wave-photo-card {
    border-radius: 28px;
  }

  .wave-photo-card img {
    height: 320px;
  }

  .wave-photo-card figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 13px 14px;
    font-size: 14px;
  }
}
	/* Galeria: zdjęcie jako tło kafelka */
.gallery-card--photo {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(36, 21, 15, 0.08) 0%, rgba(36, 21, 15, 0.32) 48%, rgba(36, 21, 15, 0.72) 100%),
    var(--gallery-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(248, 99, 9, 0.12), transparent 44%);
  z-index: 1;
  pointer-events: none;
}

.gallery-card--photo span,
.gallery-card--photo figcaption {
  position: relative;
  z-index: 2;
}

.gallery-card--photo span {
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.gallery-card--photo figcaption {
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}
}
