/*
Theme Name: SzacowanieSzkod.pl Premium
Theme URI: https://szacowanieszkod.pl
Author: SzacowanieSzkod.pl
Description: Premium, responsywny motyw WordPress oparty na Bootstrap 5. Edytowalne strony Gutenberg, osobne landing pages SEO dla szkód łowieckich, poradnik oraz dodatkowa sekcja IT. Wersja bez formularza kontaktowego.
Version: 2.3.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: szacowanieszkod
*/

:root {
  --ss-green-950: #0d2419;
  --ss-green-900: #133322;
  --ss-green-800: #1c4932;
  --ss-green-700: #2c6545;
  --ss-olive: #6d7a48;
  --ss-gold: #d8ad45;
  --ss-gold-2: #f0ca66;
  --ss-cream: #f7f4ec;
  --ss-sand: #ece5d7;
  --ss-ink: #17211b;
  --ss-muted: #667068;
  --ss-border: rgba(23,33,27,.10);
  --ss-shadow: 0 22px 55px rgba(13,36,25,.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ss-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; height: auto; }
.ss-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex: 0 0 auto; }
.service-icon .ss-icon { width: 1.35em; height: 1.35em; }
section[id] { scroll-margin-top: 92px; }

.site-navbar {
  background: linear-gradient(180deg, rgba(9,27,18,.86), rgba(9,27,18,.58));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-navbar.is-scrolled {
  background: rgba(13,36,25,.97);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.navbar-brand {
  font-weight: 850;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.navbar-brand span { color: var(--ss-gold-2); }
.navbar .nav-link { color: rgba(255,255,255,.78); font-weight: 600; font-size: .94rem; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: #fff; }

.navbar .dropdown-menu {
  min-width: 17rem;
  padding: .55rem;
  border: 1px solid rgba(23,33,27,.10);
  border-radius: 1rem;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 45px rgba(8,28,18,.18);
}
.navbar .dropdown-item {
  color: var(--ss-ink);
  font-weight: 650;
  font-size: .92rem;
  padding: .7rem .85rem;
  border-radius: .7rem;
  white-space: normal;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
  color: var(--ss-green-950);
  background: rgba(216,173,69,.18);
}
.navbar .dropdown-toggle::after { margin-left: .45rem; vertical-align: .18em; }

@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown-menu { margin-top: .35rem; }
}

@media (max-width: 1199.98px) {
  .navbar .dropdown-menu {
    position: static !important;
    transform: none !important;
    margin: .2rem 0 .55rem .65rem;
    min-width: 0;
    padding: .35rem;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.10);
    box-shadow: none;
  }
  .navbar .dropdown-item {
    color: rgba(255,255,255,.82);
    padding: .6rem .8rem;
  }
  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus,
  .navbar .dropdown-item.active {
    color: #fff;
    background: rgba(255,255,255,.10);
  }
}

.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--ss-gold-2), var(--ss-gold));
  color: #1a1b11;
  border: 0;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(216,173,69,.24);
}
.btn-gold:hover { color: #111; box-shadow: 0 14px 30px rgba(216,173,69,.32); }
.btn-soft-light {
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.btn-soft-light:hover { color: #fff; background: rgba(255,255,255,.15); }

.hero-premium {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,28,18,.95) 0%, rgba(13,49,32,.87) 42%, rgba(13,49,32,.42) 68%, rgba(13,49,32,.18) 100%),
    linear-gradient(0deg, rgba(5,19,12,.35), transparent 35%);
}
.hero-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 34%, rgba(240,202,102,.18), transparent 30%);
  pointer-events: none;
}
.hero-premium .container { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .46rem .78rem;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: .86rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}
.hero-premium h1 {
  font-size: clamp(2.7rem, 6.5vw, 5.9rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 900;
  max-width: 980px;
  text-wrap: balance;
}
.hero-premium .hero-lead {
  max-width: 780px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.6;
}
.hero-proof {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
}
.hero-proof strong { font-size: 1.6rem; display: block; line-height: 1; }
.hero-proof span { color: rgba(255,255,255,.62); font-size: .9rem; }

.trust-strip { margin-top: -42px; position: relative; z-index: 4; }
.trust-card {
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-radius: 1.35rem;
  box-shadow: var(--ss-shadow);
  padding: 1.15rem 1.2rem;
}
.trust-item { display: flex; gap: .85rem; align-items: center; }
.trust-icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--ss-cream);
  color: var(--ss-green-800);
  font-size: 1.2rem;
}
.trust-item small { color: var(--ss-muted); display: block; }

.section-pad { padding: 6rem 0; }
.bg-cream { background: var(--ss-cream); }
.bg-green-dark { background: var(--ss-green-950); color: #fff; }
.section-kicker {
  color: var(--ss-olive);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 850;
}
.section-title {
  font-weight: 900;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-copy { color: var(--ss-muted); line-height: 1.75; }

.service-card,
.audience-card,
.price-card,
.faq-card,
.experience-card {
  border: 1px solid var(--ss-border);
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(13,36,25,.06);
}
.service-card { height: 100%; padding: 1.65rem; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--ss-shadow); }
.service-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ss-cream), #fff7dc);
  color: var(--ss-green-800);
  font-size: 1.45rem;
  border: 1px solid rgba(216,173,69,.18);
}

.experience-shell {
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ss-green-950), var(--ss-green-800));
  color: #fff;
  position: relative;
}
.experience-shell::after {
  content: "10";
  position: absolute;
  right: -1.5rem;
  bottom: -5.5rem;
  font-size: 20rem;
  font-weight: 950;
  line-height: 1;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}
.experience-number {
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .85;
  font-weight: 950;
  letter-spacing: -.08em;
  color: var(--ss-gold-2);
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .75rem; margin-bottom: .8rem; align-items: flex-start; }
.check-list i { color: var(--ss-gold); margin-top: .15rem; }

.process-step { display: flex; gap: 1rem; position: relative; }
.process-num {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--ss-green-800);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(28,73,50,.18);
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 53px;
  bottom: -25px;
  width: 2px;
  background: linear-gradient(var(--ss-sand), transparent);
}

.price-card { padding: 1.8rem; height: 100%; position: relative; }
.price-card.featured { border-color: rgba(216,173,69,.58); box-shadow: 0 22px 52px rgba(13,36,25,.11); }
.price-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: .08em;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: #fff6d5;
  color: #755a11;
}
.price-value { font-size: 1.45rem; font-weight: 900; color: var(--ss-green-800); }
.price-note { color: var(--ss-muted); font-size: .87rem; }

.map-wrap {
  min-height: 500px;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--ss-shadow);
  border: 1px solid var(--ss-border);
  background: #e8eee9;
}
.map-wrap iframe { width: 100%; height: 500px; border: 0; display: block; filter: saturate(.78) contrast(.98); }
.map-overlay {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  max-width: 360px;
  padding: 1.3rem;
  border-radius: 1.2rem;
  background: rgba(13,36,25,.94);
  color: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,.22);
}

.faq-card .accordion-item { border: 0; border-bottom: 1px solid var(--ss-border); }
.faq-card .accordion-item:last-child { border-bottom: 0; }
.faq-card .accordion-button { font-weight: 800; padding: 1.25rem 1.35rem; box-shadow: none; }
.faq-card .accordion-button:not(.collapsed) { background: #fbfaf6; color: var(--ss-green-900); }
.faq-card .accordion-body { color: var(--ss-muted); line-height: 1.7; padding: 0 1.35rem 1.35rem; }

.it-panel {
  border-radius: 1.7rem;
  background: linear-gradient(120deg, #eef2ef, #fff);
  border: 1px solid var(--ss-border);
}
.cta-panel {
  border-radius: 1.7rem;
  background: linear-gradient(135deg, var(--ss-green-950), var(--ss-green-800));
  color: #fff;
  box-shadow: var(--ss-shadow);
}
.footer-link { color: rgba(255,255,255,.68); }
.footer-link:hover { color: #fff; }
.sticky-report {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ss-gold-2), var(--ss-gold));
  color: #16180f;
  font-weight: 850;
  padding: .8rem 1rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

.wp-content { line-height: 1.75; }
.wp-content h1, .wp-content h2, .wp-content h3 { font-weight: 850; letter-spacing: -.03em; }

@media (max-width: 1199.98px) {
  .hero-premium h1 { max-width: 850px; }
}
@media (max-width: 991.98px) {
  .site-navbar { background: rgba(13,36,25,.97); }
  .hero-premium { min-height: auto; padding: 9rem 0 7rem; background-position: 66% center; }
  .hero-premium::before { background: linear-gradient(90deg, rgba(7,28,18,.95), rgba(13,49,32,.78)); }
  .trust-strip { margin-top: -32px; }
  .section-pad { padding: 4.6rem 0; }
  .map-wrap, .map-wrap iframe { min-height: 430px; height: 430px; }
}
@media (max-width: 767.98px) {
  .hero-premium { padding: 8rem 0 5.8rem; }
  .hero-premium h1 { font-size: clamp(2.55rem, 12vw, 4.2rem); }
  .trust-card { padding: .9rem; }
  .trust-item { align-items: flex-start; }
  .section-pad { padding: 4rem 0; }
  .experience-shell, .report-shell, .map-wrap { border-radius: 1.35rem; }
  .map-overlay { position: static; max-width: none; border-radius: 0; }
  .map-wrap, .map-wrap iframe { min-height: 360px; height: 360px; }
  .sticky-report { right: 12px; bottom: 12px; font-size: .9rem; }
}
.custom-logo-wrap .custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-wrap img {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 768px) {
    .custom-logo-wrap img {
        height: 52px;
        width: auto;
        max-width: 220px;
    }
}

/* ===== v2.2: edytowalne strony Gutenberg + architektura SEO ===== */
.site-main-front { overflow: hidden; }
.front-page-entry > * { margin-block-start: 0; }
.ss-content-width { width: min(1140px, calc(100% - 2rem)); margin-inline: auto; }
.ss-block-section { padding: clamp(4.5rem, 7vw, 7rem) 0; }
.ss-block-section h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.045em; margin-bottom: 1.25rem; }
.ss-block-section h3 { font-weight: 850; letter-spacing: -.025em; }
.ss-block-section p, .ss-block-section li { line-height: 1.75; }
.ss-section-kicker, .ss-kicker-light { text-transform: uppercase; letter-spacing: .15em; font-weight: 850; font-size: .8rem; }
.ss-section-kicker { color: var(--ss-olive); }
.ss-kicker-light { color: var(--ss-gold-2); }
.ss-home-hero { color: #fff; }
.ss-home-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(7,28,18,.95), rgba(13,49,32,.77) 55%, rgba(13,49,32,.35)) !important; opacity: 1 !important; }
.ss-home-hero .wp-block-cover__inner-container { width: 100%; }
.ss-hero-inner { padding-top: 6rem; padding-bottom: 3rem; }
.ss-home-h1 { max-width: 1000px; font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.06em; font-weight: 950; }
.ss-home-lead { max-width: 820px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.82); line-height: 1.65; }
.ss-home-hero .wp-block-button__link { border-radius: 999px; padding: .9rem 1.35rem; font-weight: 800; }
.ss-home-hero .wp-block-button.is-style-fill .wp-block-button__link { background: linear-gradient(135deg, var(--ss-gold-2), var(--ss-gold)); color: #1a1b11; }
.ss-home-hero .wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.ss-proof-grid { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); max-width: 840px; }
.ss-proof-grid p { color: rgba(255,255,255,.67); margin: 0; }
.ss-proof-grid strong { color: #fff; font-size: 1.3rem; }
.ss-card-grid { gap: 1.5rem; }
.ss-edit-card { border: 1px solid var(--ss-border); border-radius: 1.45rem; padding: 1.65rem; background: #fff; box-shadow: 0 14px 36px rgba(13,36,25,.06); }
.ss-edit-card p:last-child { margin-bottom: 0; }
.ss-edit-card a, .wp-content a { color: var(--ss-green-700); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .16em; }
.ss-block-dark { background: linear-gradient(135deg, var(--ss-green-950), var(--ss-green-800)); color: #fff; }
.ss-block-dark p, .ss-block-dark li { color: rgba(255,255,255,.78); }
.ss-big-number { color: var(--ss-gold-2) !important; font-size: clamp(5rem, 10vw, 9rem); line-height: .85 !important; font-weight: 950; letter-spacing: -.08em; margin-bottom: .8rem; }
.ss-it-strip { background: var(--ss-cream); }
.ss-contact-cta { background: var(--ss-green-950); color: #fff; }
.ss-contact-cta p { color: rgba(255,255,255,.75); }
.ss-contact-cta .wp-block-button__link { background: linear-gradient(135deg, var(--ss-gold-2), var(--ss-gold)); color: #17170f; border-radius: 999px; font-weight: 850; }

.page-main { min-height: 70vh; }
.page-hero { padding: 10rem 0 5rem; color: #fff; background: radial-gradient(circle at 75% 20%, rgba(240,202,102,.14), transparent 30%), linear-gradient(135deg, var(--ss-green-950), var(--ss-green-800)); background-size: cover; background-position: center; }
.page-hero.page-hero-has-image { min-height: 460px; display: flex; align-items: end; background-size: cover; background-position: center; }
.ss-tech-section { background: linear-gradient(180deg, #f7f4ec, #eef2e8); }
.page-hero h1 { max-width: 980px; font-size: clamp(2.4rem, 5vw, 4.7rem); font-weight: 950; letter-spacing: -.055em; line-height: 1; }
.page-hero-lead { max-width: 850px; margin-top: 1.25rem; font-size: 1.15rem; color: rgba(255,255,255,.74); line-height: 1.65; }
.ss-breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.62); font-size: .9rem; }
.ss-breadcrumbs a { color: rgba(255,255,255,.86); }
.page-content-wrap { padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: clamp(4rem, 7vw, 7rem); }
.wp-content { font-size: 1.075rem; line-height: 1.78; }
.wp-content h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 900; letter-spacing: -.035em; margin-top: 2.5rem; margin-bottom: 1rem; }
.wp-content h3 { font-weight: 850; margin-top: 2rem; }
.wp-content .ss-lead { font-size: 1.3rem; line-height: 1.65; color: var(--ss-muted); }
.wp-content ul, .wp-content ol { padding-left: 1.35rem; }
.wp-content li { margin-bottom: .45rem; }
.ss-contact-card { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0 3rem; }
.ss-contact-card > div { border: 1px solid var(--ss-border); border-radius: 1.2rem; padding: 1.3rem; background: var(--ss-cream); }
.ss-contact-card a { font-weight: 800; }
.ss-price-table { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin: 2rem 0; }
.ss-price-table > div { border: 1px solid var(--ss-border); border-radius: 1.35rem; padding: 1.5rem; background: #fff; box-shadow: 0 10px 30px rgba(13,36,25,.06); }
.ss-price-table strong { color: var(--ss-green-800); }
.blog-card { border: 1px solid var(--ss-border); border-radius: 1.35rem; overflow: hidden; box-shadow: 0 12px 32px rgba(13,36,25,.06); background: #fff; }
.blog-card h2 a { color: var(--ss-ink); }
.blog-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-meta { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--ss-olive); }
.ss-empty-state { border: 1px dashed rgba(28,73,50,.25); border-radius: 1.5rem; padding: 2.5rem; background: var(--ss-cream); }
.single-featured img { width: 100%; border-radius: 1.4rem; }
.current-menu-item > .nav-link, .current_page_item > .nav-link { color: #fff; }

@media (max-width: 991.98px) {
  .ss-contact-card, .ss-price-table { grid-template-columns: 1fr; }
  .ss-home-hero { min-height: 720px !important; }
  .ss-proof-grid { gap: .5rem; }
}
@media (max-width: 575.98px) {
  .ss-hero-inner { padding-top: 7rem; }
  .ss-home-h1 { font-size: 2.65rem; }
  .page-hero { padding-top: 8.5rem; padding-bottom: 3.5rem; }
  .ss-block-section { padding: 4rem 0; }
}
/* Logo w stopce */
.footer-logo {
    height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
}