/* ==========================================================================
   PODSTRONA: POLITYKA PRYWATNOŚCI (A&K WAWRO)
   Zgodność 1:1 z Design System: design_system_typography_rules.md
   ========================================================================== */

/* Kontener główny podstrony */
.ak-subpage-container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Okruszki chleba (Breadcrumbs) */
.ak-breadcrumbs {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 13.5px;
  color: var(--ak-text-gray);
  margin-bottom: 24px;
  text-align: left;
}

.ak-breadcrumbs a {
  color: var(--ak-teal-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ak-breadcrumbs a:hover {
  text-decoration: underline;
}

.ak-breadcrumbs span {
  margin: 0 6px;
  opacity: 0.6;
}

/* Sekcja Wprowadzająca (Hero & Intro) */
.ak-legal-hero-section {
  padding: 40px 0 25px;
  background-color: var(--ak-bg-white, var(--ak-bg-white));
}

.ak-subpage-h1 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--ak-text-dark);
  text-align: left;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.25;
  margin: 0 0 20px 0;
  width: 100%;
  max-width: 100%;
}

.ak-subpage-h1 .ak-teal-highlight {
  color: var(--ak-teal-ink);
}

.ak-subpage-intro-p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  margin: 0 0 20px 0;
  width: 90%;
  max-width: 90%;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .ak-subpage-intro-p {
    margin-left: 20px;
  }
}

/* Treść prawna / artykuły */
.ak-legal-content-section {
  padding: 20px 0 60px;
  background-color: var(--ak-bg-white, var(--ak-bg-white));
}

.ak-legal-block {
  background: var(--ak-bg-white);
  border-radius: 16px;
  border: 1px solid rgba(86, 168, 168, 0.2);
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ak-legal-block h2,
.ak-legal-block h3 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  margin: 0 0 16px 0;
  line-height: 1.35;
}

.ak-legal-block p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  margin: 0 0 16px 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.ak-legal-block p:last-child {
  margin-bottom: 0;
}

.ak-legal-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.ak-legal-block li {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ak-text-gray);
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}

.ak-legal-block li::before {
  content: '•';
  color: var(--ak-teal-ink);
  position: absolute;
  left: 4px;
  top: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
}

.ak-legal-block a {
  color: var(--ak-teal-ink);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.ak-legal-block a:hover {
  color: var(--ak-navy-dark);
}

/* Sekcja CTA z przyciskami */
.ak-cta-wrapper-section {
  padding: 50px 0 65px;
  background-color: var(--ak-bg-white, var(--ak-bg-white));
  border-top: 1px solid rgba(86, 168, 168, 0.15);
}

.ak-cta-wrapper-section h2 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin: 0 0 28px 0;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
}

.wawro-wrapper-x9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}

.wawro-btn-x9 {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 420px;
  background: var(--ak-teal-action-gradient);
  color: var(--ak-text-inverse) !important;
  text-decoration: none;
  padding: 13px 22px 13px 15px;
  border-radius: 50px;
  box-shadow: 0 8px 20px -6px rgba(31, 95, 104, 0.45);
  transition:  transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  cursor: pointer;
  text-align: left;
}

.wawro-btn-x9::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-200%) skewX(-25deg);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.wawro-btn-x9:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 28px -6px rgba(31, 95, 104, 0.55);
  color: var(--ak-text-inverse) !important;
}

.wawro-btn-x9:hover::before {
  transform: translateX(400%) skewX(-25deg);
}

.wawro-icon-x9 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  margin-right: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.wawro-icon-x9 svg {
  width: 22px;
  height: 22px;
  fill: var(--ak-text-inverse);
}

.wawro-text-x9,
.wawro-content-x9 {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.wawro-title-x9 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ak-text-inverse);
}

/* Rola „podpis przycisku” z DESIGN.md (2026-10-01): 13px, zwykłe litery, pełna biel */
.wawro-sub-x9 {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ak-text-inverse);
}

/* Responsywność dla Mobile */
@media (max-width: 768px) {
  .ak-subpage-h1,
  .ak-legal-block h2,
  .ak-legal-block h3,
  .ak-cta-wrapper-section h2 {
    text-align: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ak-subpage-intro-p {
    text-align: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ak-legal-block {
    padding: 24px 20px;
  }

  .ak-legal-block p {
    font-size: 15px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .ak-legal-block li {
    font-size: 15px;
    text-align: left;
  }
}

/* ==========================================================================
   OGRANICZONY RUCH (2026-10-01, etap B): bez przechylania 3D kart, unoszenia ikon,
   połysku i animowanego rozwijania; zmiany koloru i cienia zostają jako informacja zwrotna.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  [class*="-card"],
  [class*="-card"] .visual-container,
  [class*="-card"] .icon-layer,
  [class*="-card"] .price-tag-callout,
  .card-text-wrapper {
    transition-duration: 0.01s !important;
  }
  [class*="-card"]:hover .icon-layer {
    transform: none !important;
  }
  [class*="-card"]::before {
    display: none;
  }
}
