/*
Theme Name: Pulpit 365 Divi Child
Theme URI: https://pulpit365.pl
Description: Modern Soft Editorial Child Theme for Pulpit 365, Pan Pulpit, Bezpieczny Pulpit & Pulpit Rodzinny. Divi 4/5 compatible.
Author: Pulpit 365 Architecture Team
Author URI: https://pulpit365.pl
Template: Divi
Version: 3.0.0
Text Domain: pulpit365-child
*/

:root {
  --p365-navy: #0F172A;
  --p365-hero-bg: #0B1218;
  --p365-ink: #0F172A;
  --p365-slate-700: #334155;
  --p365-slate-500: #64748B;
  --p365-slate-200: #E2E8F0;
  --p365-light: #F8FAFC;
  --p365-white: #FFFFFF;
  --p365-teal: #0D9488;
  --p365-teal-bright: #2FB8BE;
  --p365-blue: #2563EB;
  --p365-emerald: #10B981;
  --p365-amber: #F59E0B;
  --p365-amber-dark: #D97706;
  --p365-accent: var(--p365-teal);
  --p365-accent-bright: var(--p365-teal-bright);
  --p365-radius-xl: 28px;
  --p365-radius-lg: 20px;
  --p365-radius-md: 14px;
  --p365-shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.08);
  --p365-shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05);
  --p365-font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --p365-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Mode Accents */
body.p365-mode-rodzina {
  --p365-accent: #D97706;
  --p365-accent-bright: #FBBF24;
}
body.p365-mode-panpulpit {
  --p365-accent: #0891B2;
  --p365-accent-bright: #38BDF8;
}
body.p365-mode-bezpieczny {
  --p365-accent: #2563EB;
  --p365-accent-bright: #60A5FA;
}

/* Hide default Divi chrome on custom bespoke landing templates cleanly */
body.p365-bespoke-page #top-header,
body.p365-bespoke-page #main-header:not(.master-header),
body.p365-bespoke-page #main-footer,
body.p365-bespoke-page .et_pb_scroll_top {
  display: none !important;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body.p365-bespoke-page {
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--p365-white) !important;
  background-image: none !important;
  color: var(--p365-ink);
  font-family: var(--p365-font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.p365-bespoke-page #page-container {
  padding-top: 0 !important;
}

.p365-main h1,
.p365-main h2,
.p365-main h3,
.p365-main h4,
.p365-main h5,
.master-header h1,
.master-footer h5 {
  font-family: var(--p365-font-display);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-top: 0;
}

.msp-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Top Slim Domain Switcher Bar */
.p365-domain-strip {
  background: #060B10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #94A3B8;
  position: relative;
  z-index: 60;
}
.p365-domain-strip-label {
  font-weight: 500;
  margin-right: 4px;
  color: #64748B;
}
.p365-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.p365-domain-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}
.p365-domain-pill.is-active {
  background: var(--p365-accent-bright);
  color: #061317 !important;
  border-color: var(--p365-accent-bright);
  font-weight: 700;
}

/* Single-Line Atmospheric Header */
.master-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 18, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.master-header.is-light-bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--p365-slate-200);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
.master-nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
}
.nav-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo-link:hover {
  transform: scale(1.02);
}
.nav-logo-link img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.nav-menu-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.nav-menu-list a:hover {
  color: #FFFFFF;
}
.master-header.is-light-bar .nav-menu-list a {
  color: var(--p365-slate-700);
}
.master-header.is-light-bar .nav-menu-list a:hover {
  color: var(--p365-accent);
}
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-cta-group .p365-btn {
  padding: 9px 18px;
  font-size: 13.5px;
}
.master-header.is-light-bar .p365-btn-ghost-dark {
  color: var(--p365-ink) !important;
  border-color: var(--p365-slate-200) !important;
  background: var(--p365-light) !important;
}
.master-header.is-light-bar .p365-btn-ghost-dark:hover {
  background: #E2E8F0 !important;
  border-color: #94A3B8 !important;
}

/* Modern Pill Buttons (Shared across templates & shortcodes) */
.p365-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--p365-font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.p365-btn:hover {
  transform: translateY(-1px);
}
.p365-btn-primary {
  background: var(--p365-accent-bright);
  color: #061317 !important;
}
.p365-btn-primary:hover {
  box-shadow: 0 10px 24px rgba(47, 184, 190, 0.35);
}
.p365-btn-teal {
  background: var(--p365-accent);
  color: #FFFFFF !important;
}
.p365-btn-teal:hover {
  filter: brightness(0.95);
  box-shadow: 0 12px 26px rgba(13, 148, 136, 0.28);
}
.p365-btn-ghost-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
}
.p365-btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}
.p365-btn-outline {
  background: #FFFFFF;
  border-color: var(--p365-slate-200);
  color: var(--p365-ink) !important;
}
.p365-btn-outline:hover {
  border-color: var(--p365-accent);
  color: var(--p365-accent) !important;
}
.p365-btn-amber {
  background: var(--p365-amber);
  color: #0F172A !important;
}

/* Partner Referral Banner (Shortcode compatible) */
.msp-partner-banner {
  background: linear-gradient(90deg, #0F172A 0%, #0F766E 100%);
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 13.5px;
  text-align: center;
}
.msp-partner-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.msp-partner-pill {
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

/* Hero Section (MultiTech Warm Atmospheric Bokeh + Right Editorial Photo) */
.p365-hero {
  position: relative;
  background-color: var(--p365-hero-bg);
  color: #FFFFFF;
  overflow: hidden;
  padding-top: 40px;
}
.p365-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transition: background-image 0.35s ease;
}
.p365-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0B1218 0%,
    #0D151D 38%,
    rgba(11, 18, 24, 0.80) 54%,
    rgba(11, 18, 24, 0.28) 76%,
    rgba(11, 18, 24, 0.08) 100%
  );
}
.p365-hero-inner {
  position: relative;
  z-index: 5;
}
.p365-hero-copy {
  max-width: 620px;
  padding-bottom: 34px;
}
.p365-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p365-accent-bright);
  margin-bottom: 14px;
}
.p365-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p365-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}
.p365-hero h1 {
  font-size: clamp(32px, 3.85vw, 48px);
  font-weight: 800;
  line-height: 1.09;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.p365-hero-lead {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.80);
  max-width: 530px;
  margin-bottom: 24px;
}

/* Hero White Quick-Start Intake Pill */
.p365-pill-form {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 500px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36);
  margin-bottom: 16px;
}
.p365-pill-form input[type="text"],
.p365-pill-form input[type="email"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  color: var(--p365-ink);
  padding: 8px 10px 8px 0;
}
.p365-pill-form input::placeholder {
  color: #94A3B8;
}
.p365-pill-form button {
  background: var(--p365-accent);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.18s ease;
}
.p365-pill-form button:hover {
  filter: brightness(0.92);
}
.p365-pill-feedback {
  font-size: 13px;
  color: #6EE7B7;
  font-weight: 600;
  margin-bottom: 14px;
  display: none;
}
.p365-hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.p365-hero-links a {
  color: #FFFFFF !important;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(47, 184, 190, 0.65);
}

/* MultiTech Signature Bottom-Left Callout Banner */
.p365-hero-callout {
  max-width: 590px;
  background: linear-gradient(135deg, var(--p365-accent-bright) 0%, var(--p365-accent) 100%);
  color: #FFFFFF;
  padding: 22px 30px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
}
body.p365-mode-rodzina .p365-hero-callout {
  color: #0F172A;
}
.p365-hero-callout h3 {
  font-size: 19px;
  font-weight: 700;
  color: inherit;
  margin-bottom: 8px;
}
.p365-hero-callout-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  opacity: 0.94;
  font-weight: 500;
}

/* Proof Bar */
.p365-proof-bar {
  background: var(--p365-light);
  border-bottom: 1px solid var(--p365-slate-200);
  padding: 22px 0;
}
.p365-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.p365-proof-item strong {
  display: block;
  font-family: var(--p365-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--p365-ink);
  margin-bottom: 2px;
}
.p365-proof-item span {
  font-size: 13px;
  color: var(--p365-slate-500);
}

/* General Clean Editorial Sections */
.p365-section {
  padding: 84px 0;
  background: var(--p365-white);
}
.p365-section-soft {
  background: var(--p365-light);
}
.p365-section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.p365-section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.p365-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p365-accent);
  margin-bottom: 10px;
}
.p365-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--p365-ink);
  margin-bottom: 14px;
}
.p365-desc {
  font-size: 16px;
  color: var(--p365-slate-500);
  margin: 0;
}

/* Split Layouts & Elevated Light Cards */
.p365-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.p365-split > * {
  min-width: 0;
  max-width: 100%;
}
.p365-checklist {
  list-style: none;
  margin: 24px 0 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.p365-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--p365-slate-700);
}
.p365-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #CCFBF1;
  color: #0F766E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.p365-card {
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: var(--p365-radius-xl);
  padding: 34px;
  box-shadow: var(--p365-shadow-soft);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.p365-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.p365-badge-teal { background: #CCFBF1; color: #0F766E; }
.p365-badge-slate { background: #F1F5F9; color: #475569; }
.p365-badge-amber { background: #FEF3C7; color: #B45309; }
.p365-badge-blue { background: #DBEAFE; color: #1D4ED8; }

.p365-os-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px 0;
}
.p365-os-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--p365-light);
  border: 1px solid var(--p365-slate-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--p365-slate-700);
}
.p365-metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--p365-slate-200);
}
.p365-metric-num {
  font-family: var(--p365-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--p365-ink);
}
.p365-metric-lbl {
  font-size: 12.5px;
  color: var(--p365-slate-500);
}

/* Interactive Calculator Bar + Mode Switch */
.p365-calc-panel {
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: var(--p365-radius-lg);
  padding: 26px 32px;
  box-shadow: var(--p365-shadow-card);
  margin-bottom: 32px;
}
.p365-calc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.p365-calc-slider-box {
  flex: 1;
  min-width: 240px;
}
.p365-calc-slider-box input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  outline: none;
  margin-top: 12px;
  cursor: pointer;
}
.p365-calc-slider-box input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--p365-accent);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.24);
  cursor: pointer;
}
.p365-calc-slider-box input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--p365-accent);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.24);
  cursor: pointer;
}
.p365-calc-grid-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.p365-calc-controls-col {
  flex: 1;
  min-width: 320px;
}
.p365-calc-summary-card {
  text-align: right;
  min-width: 250px;
  background: #FFFFFF;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Category Tabs (B2B vs B2C) */
.p365-category-tabs {
  display: inline-flex;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  max-width: 100%;
}
.p365-tab-btn {
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #64748B;
  transition: all 0.2s ease;
}
.p365-tab-btn.is-active {
  background: #FFFFFF;
  color: var(--p365-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Billing Switch (Rocznie -20% vs Miesięcznie) */
.p365-billing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.p365-billing-btn {
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.p365-billing-btn.is-active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.p365-calc-segment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--p365-light);
  border: 1px solid var(--p365-slate-200);
  border-radius: 14px;
  padding: 5px;
  gap: 6px;
  width: 100%;
}
.p365-calc-seg-btn {
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--p365-slate-600);
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
}
.p365-calc-seg-btn.is-active {
  background: #FFFFFF;
  color: var(--p365-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 4-Tier Clean Pricing Grid */
.p365-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.p365-price-card {
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--p365-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p365-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--p365-shadow-soft);
}
.p365-price-card.is-featured {
  border: 2px solid var(--p365-teal);
  box-shadow: 0 24px 54px rgba(13, 148, 136, 0.14);
}
.p365-price-card.is-family {
  border-top: 4px solid var(--p365-amber);
}
.p365-price-card.is-selected {
  outline: 3px solid rgba(13, 148, 136, 0.25);
}
.p365-price-val {
  font-family: var(--p365-font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--p365-ink);
  margin: 10px 0 4px 0;
}
.p365-price-sub {
  font-size: 13px;
  color: var(--p365-slate-500);
  margin-bottom: 20px;
}
.p365-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--p365-slate-700);
  flex: 1;
}

/* Pakiety Dodatkowe z Gwarancją Wartości Dodatniej (High on Page, Clean Elevated Cards) */
.p365-addons-head {
  margin-top: 64px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.p365-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p365-addon-card {
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--p365-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p365-addon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.p365-addon-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F0FDFA;
  color: var(--p365-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p365-addon-market {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--p365-slate-500);
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: line-through;
}
.p365-addon-price {
  font-family: var(--p365-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--p365-ink);
}
.p365-addon-note {
  font-size: 12.5px;
  font-weight: 600;
  color: #0F766E;
  background: #F0FDFA;
  padding: 8px 12px;
  border-radius: 10px;
  margin-top: auto;
}

/* Rounded Candid Photo */
.p365-photo-rounded {
  width: 100%;
  border-radius: var(--p365-radius-xl);
  box-shadow: var(--p365-shadow-soft);
  object-fit: cover;
  display: block;
}

/* 8-Tile 4x2 Hairline Benefits Grid */
.p365-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: 24px;
  overflow: hidden;
}
.p365-benefit-cell {
  padding: 32px 26px;
  border-right: 1px solid var(--p365-slate-200);
  border-bottom: 1px solid var(--p365-slate-200);
}
.p365-benefit-cell:nth-child(4n) { border-right: none; }
.p365-benefit-cell:nth-child(n+5) { border-bottom: none; }
.p365-benefit-cell svg {
  color: var(--p365-accent);
  margin-bottom: 16px;
}
.p365-benefit-cell h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.p365-benefit-cell p {
  font-size: 13.5px;
  color: var(--p365-slate-500);
  margin: 0;
}

/* 4-Step Teal Gradient Band */
.p365-steps-band {
  background: linear-gradient(135deg, #0F172A 0%, #0F766E 55%, #14B8A6 100%);
  color: #FFFFFF;
  border-radius: var(--p365-radius-xl);
  padding: 56px 48px;
  box-shadow: var(--p365-shadow-soft);
}
.p365-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.p365-step-num {
  font-family: var(--p365-font-display);
  font-size: 12.5px;
  font-weight: 800;
  color: #5EEAD4;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.p365-step-item h4 {
  font-size: 17.5px;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.p365-step-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

/* Dark Overhead Workspace Glass Problem Cards */
.p365-problems-band {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 88px 0;
}
.p365-problems-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 24, 0.80);
  backdrop-filter: blur(4px);
}
.p365-problems-inner {
  position: relative;
  z-index: 2;
}
.p365-glass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.p365-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 28px;
}
.p365-glass-card h4 {
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.p365-glass-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* Case Study Photo Cards */
.p365-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.p365-case-card {
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--p365-shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p365-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--p365-shadow-soft);
}
.p365-case-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.p365-case-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.p365-case-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--p365-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.p365-case-body h4 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--p365-ink);
}
.p365-case-body p {
  font-size: 14px;
  color: var(--p365-slate-500);
  margin: 0 0 18px 0;
  flex: 1;
}
.p365-case-footer {
  padding-top: 14px;
  border-top: 1px solid var(--p365-slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
}
.p365-case-footer a {
  color: var(--p365-accent);
  text-decoration: none;
  font-weight: 700;
}

/* Clean FAQ Accordion */
.p365-faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.p365-faq-item {
  background: var(--p365-white);
  border: 1px solid var(--p365-slate-200);
  border-radius: 16px;
  padding: 20px 24px;
}
.p365-faq-item summary {
  font-family: var(--p365-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--p365-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.p365-faq-item summary::-webkit-details-marker { display: none; }
.p365-faq-item p {
  margin: 12px 0 0 0;
  font-size: 14.5px;
  color: var(--p365-slate-500);
}

/* Bottom CTA Curved Gradient Banner */
.p365-bottom-cta {
  background: linear-gradient(135deg, #0F172A 0%, #0F766E 65%, #14B8A6 100%);
  color: #FFFFFF;
  border-radius: var(--p365-radius-xl);
  padding: 52px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  box-shadow: var(--p365-shadow-soft);
}

/* Prestiżowa Ciemna Stopka Dark Navy (#060B11) — Pełny Kontrast WCAG AAA */
.master-footer {
  background: #060B11 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 36px 0;
  color: #94A3B8 !important;
}
.p365-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.master-footer h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.master-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.master-footer li {
  color: #94A3B8;
  font-size: 13.5px;
}
.master-footer li strong {
  color: #E2E8F0;
}
.master-footer a {
  color: #94A3B8 !important;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.18s ease;
}
.master-footer a:hover {
  color: var(--p365-accent-bright, #38BDF8) !important;
}
.master-footer p {
  color: #94A3B8 !important;
  line-height: 1.6;
}
.p365-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #64748B;
}
.p365-footer-bottom a {
  color: #64748B !important;
  text-decoration: none;
  transition: color 0.18s ease;
}
.p365-footer-bottom a:hover {
  color: #CBD5E1 !important;
}

/* Category Tabs & Billing Switcher UI */
.p365-category-tabs {
  display: inline-flex;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
}
.p365-tab-btn {
  border: none;
  background: transparent;
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}
.p365-tab-btn.is-active {
  background: #FFFFFF !important;
  color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.p365-billing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.p365-billing-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.p365-billing-btn.is-active {
  background: #0F172A !important;
  color: #FFFFFF !important;
  border-color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}
.p365-discount-badge {
  background: #10B981;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.03em;
}

/* Booking Modal & Crisp Concierge Floating Pill */
#concierge-floating-cta {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 9990 !important;
  background: #0F172A !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28) !important;
  font-family: var(--p365-font-body) !important;
  padding: 10px 18px !important;
  width: auto !important;
}
#concierge-floating-cta .concierge-fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 13.5px;
  line-height: 1.2;
}
#concierge-floating-cta .fab-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p365-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}
.p365-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.p365-modal-box {
  background: #FFFFFF;
  border: 1px solid var(--p365-slate-200);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
  max-width: 480px;
  width: 100%;
  padding: 34px;
  position: relative;
}

/* Shortcode Compatibility Helpers (Divi Modules / Pages) */
.msp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--p365-teal);
  color: #FFFFFF !important;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
}
.msp-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.msp-card {
  background: #FFFFFF;
  border: 1px solid var(--p365-slate-200);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--p365-shadow-card);
}

/* Responsive Adjustments */
@media (max-width: 1120px) {
  .nav-menu-list { display: none; }
  .p365-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .p365-addons-grid { grid-template-columns: repeat(2, 1fr); }
  .p365-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .p365-benefit-cell:nth-child(2n) { border-right: none; }
  .p365-benefit-cell:nth-child(n+5) { border-bottom: 1px solid var(--p365-slate-200); }
  .p365-benefit-cell:nth-child(n+7) { border-bottom: none; }
  .p365-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Dynamic mobile domain strip horizontal swipe */
  .p365-domain-strip {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 8px 14px !important;
    gap: 8px !important;
  }
  .p365-domain-strip::-webkit-scrollbar {
    display: none !important;
  }
  .p365-domain-strip-label,
  .p365-domain-pill {
    flex-shrink: 0 !important;
  }

  .master-nav-inner { height: 68px; }
  .nav-logo-link img { height: 36px; }
  .p365-btn-ghost-dark { display: none; }
  .nav-cta-group .p365-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  .p365-hero { padding-top: 30px; }
  .p365-hero-scrim {
    background: linear-gradient(180deg, rgba(11,18,24,0.88) 0%, rgba(11,18,24,0.92) 100%);
  }
  .p365-hero-callout { padding: 22px 20px; border-radius: 20px 20px 0 0; }
  .p365-card { padding: 24px 20px; }
  .p365-calc-panel { padding: 22px 16px !important; }
  .p365-calc-grid-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .p365-calc-controls-col { min-width: 0 !important; width: 100% !important; }
  .p365-calc-summary-card {
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-top: 10px;
  }
  .p365-calc-segment {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    border-radius: 14px !important;
    gap: 6px !important;
  }
  .p365-calc-seg-btn {
    padding: 10px 6px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.25 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .p365-calc-slider-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .p365-calc-slider-header strong {
    font-size: 13.5px !important;
    max-width: 65% !important;
    line-height: 1.3 !important;
  }
  .p365-calc-slider-header span {
    font-size: 15px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .p365-category-tabs {
    width: 100% !important;
    max-width: 360px !important;
    padding: 4px !important;
    border-radius: 12px !important;
  }
  .p365-category-tabs .p365-tab-btn {
    flex: 1 !important;
    padding: 9px 8px !important;
    font-size: 12.5px !important;
    white-space: normal !important;
    border-radius: 10px !important;
    text-align: center !important;
  }
  .p365-billing-switch-wrapper {
    width: 100% !important;
    gap: 8px !important;
  }
  .p365-billing-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    text-align: center !important;
  }
  .p365-proof-grid,
  .p365-split,
  .p365-pricing-grid,
  .p365-addons-grid,
  .p365-benefits-grid,
  .p365-steps-grid,
  .p365-glass-grid,
  .p365-cases-grid,
  .p365-footer-grid {
    grid-template-columns: 1fr;
  }
  .p365-benefit-cell { border-right: none !important; }
  .p365-steps-band,
  .p365-bottom-cta { padding: 34px 24px; }
  .p365-section { padding: 54px 0; }
  .p365-pill-form {
    flex-direction: column;
    border-radius: 18px;
    padding: 12px;
    gap: 10px;
  }
  .p365-pill-form input { width: 100%; padding: 8px 6px !important; }
  .p365-pill-form button { width: 100%; }
}

@media (max-width: 520px) {
  .msp-container { padding-left: 16px; padding-right: 16px; }
  .p365-pin-row button { width: 100%; }
  .p365-hero .p365-btn,
  .p365-hero-copy .p365-btn,
  .p365-bottom-cta .p365-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  #msp-dns-auditor-box form {
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 10px !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  #msp-dns-auditor-box form input,
  #msp-dns-auditor-box form button {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* -------------------------------------------------------------
 * Soft Editorial SaaS: Contrast Table, DNS Auditor & Clean UI
 * ------------------------------------------------------------- */
.p365-mobile-scroll-hint {
  display: none;
}
@media (max-width: 768px) {
  .p365-mobile-scroll-hint {
    display: block !important;
  }
}
.p365-compare-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 36px;
  background: #FFFFFF;
  border: 1px solid var(--p365-slate-200);
  border-radius: 20px;
  box-shadow: var(--p365-shadow-card);
}
.p365-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 680px;
}
.p365-compare-table th,
.p365-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--p365-slate-200);
  vertical-align: top;
}
.p365-compare-table th {
  background: #F8FAFC;
  font-family: var(--p365-font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--p365-ink);
  letter-spacing: -0.01em;
}
.p365-compare-table tr:last-child td {
  border-bottom: none;
}
.p365-compare-table .is-highlight {
  background: #F0FDF4;
  color: #065F46;
}
.p365-compare-table th.is-highlight {
  background: #DCFCE7;
  color: #065F46;
  font-weight: 800;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

/* Modal styling */
.p365-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.p365-modal-box {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
@media (max-width: 520px) {
  .p365-modal-box {
    padding: 22px 18px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.p365-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--p365-slate-400);
  cursor: pointer;
  padding: 4px 8px;
}
.p365-modal-close:hover {
  color: var(--p365-ink);
}
.p365-modal-head {
  margin-bottom: 20px;
}

/* ==========================================================================
   16. Soft Editorial Privacy & Cookie Consent Banner (Consent Mode v2)
   ========================================================================== */
.msp-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  width: calc(100% - 48px);
  background: #FFFFFF;
  border: 1px solid var(--p365-slate-200, #E2E8F0);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  z-index: 99998;
  display: none;
  font-family: var(--p365-font-body, 'Inter', sans-serif);
  animation: bannerSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bannerSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.msp-consent-banner.is-visible {
  display: block;
}
.msp-consent-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.msp-consent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--p365-slate-100, #F1F5F9);
  border-radius: 8px;
  font-size: 15px;
}
.msp-consent-title {
  font-family: var(--p365-font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--p365-ink, #0F172A);
}
.msp-consent-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--p365-slate-600, #475569);
  margin-bottom: 16px;
}
.msp-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.msp-consent-btn {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}
.msp-consent-btn-accept {
  background: var(--p365-accent, #2563EB);
  color: #FFFFFF;
}
.msp-consent-btn-accept:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}
.msp-consent-btn-reject {
  background: #FFFFFF;
  border-color: var(--p365-slate-300, #CBD5E1);
  color: var(--p365-slate-700, #334155);
}
.msp-consent-btn-reject:hover {
  background: var(--p365-slate-100, #F1F5F9);
}

@media (max-width: 640px) {
  #concierge-floating-cta {
    right: 12px !important;
    bottom: 12px !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
  }
  #concierge-floating-cta .fab-label {
    font-size: 12px !important;
  }
  .msp-consent-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 58px !important;
    width: auto !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
  .msp-consent-head {
    margin-bottom: 4px !important;
  }
  .msp-consent-title {
    font-size: 13px !important;
  }
  .msp-consent-text {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }
  .msp-consent-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }
}


