/* ==========================================================================
   PODSTRONA: UBEZPIECZENIA KOMUNIKACYJNE OC/AC WROCŁAW (A&K WAWRO)
   Zgodność 1:1 z Design System: design_system_typography_rules.md
   ========================================================================== */

/* --- GŁÓWNY KONTENER PODSTRONY --- */
.ak-subpage-container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 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;
}

/* --- 1. SEKCJA HERO & INTRO --- */
.ak-komunikacja-hero-section {
  padding: 40px 0 35px;
  background-color: 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 16px 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;
  }
}

.ak-subpage-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;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
  margin: 36px 0 16px 0;
  width: 100%;
  max-width: 100%;
}

/* --- 2. SEKCJA BENTO GRID (Kluczowe korzyści OC i AC) --- */
.ak-komunikacja-bento-section {
  padding: 50px 0 60px;
  background-color: var(--ak-bg-light);
  border-top: 1px solid rgba(86, 168, 168, 0.12);
  border-bottom: 1px solid rgba(86, 168, 168, 0.12);
}

.ak-bento-header {
  width: 100%;
  margin-bottom: 36px;
}

.ak-bento-header h2 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  text-align: left;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
  margin: 0 0 14px 0;
  width: 100%;
}

.ak-bento-header .section-desc {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  margin: 0 0 16px 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-bento-header .section-desc {
    margin-left: 20px;
  }
}

.ak-komunikacja-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  box-sizing: border-box;
}

.ak-komunikacja-card {
  background: var(--ak-bg-white);
  border-radius: 20px;
  padding: 34px;
  border: 1px solid rgba(86, 168, 168, 0.18);
  box-shadow: 0 8px 30px rgba(28, 59, 74, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:  transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, opacity 0.5s ease;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.ak-komunikacja-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(86, 168, 168, 0.08), transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.ak-komunikacja-card:hover::before {
  opacity: 1;
}

.ak-komunikacja-card:hover {
  box-shadow: 0 20px 50px rgba(28, 59, 74, 0.08);
  border-color: rgba(86, 168, 168, 0.45);
}

.ak-komunikacja-card .card-content {
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.ak-komunikacja-card .card-badge {
  display: inline-flex;
  align-self: flex-start;
  background-color: rgba(86, 168, 168, 0.1);
  color: var(--ak-teal-ink);
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  transition:  transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.ak-komunikacja-card:hover .card-badge {
  background-color: var(--ak-teal-action);
  color: var(--ak-text-inverse);
}

.ak-komunikacja-card h3 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 21px;
  color: var(--ak-navy-dark);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
  pointer-events: none;
}

.ak-komunikacja-card .card-text-wrapper {
  position: relative;
  max-height: 86px;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-komunikacja-card .card-text-wrapper.expanded {
  max-height: 800px;
}

.ak-komunikacja-card p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: #52525b;
  pointer-events: none;
  margin-bottom: 10px;
  text-align: left;
}

.ak-komunikacja-card p strong {
  color: var(--ak-navy-dark);
  font-weight: 700;
}

.ak-komunikacja-card .card-text-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 90%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ak-komunikacja-card .card-text-wrapper.expanded .card-text-fade {
  opacity: 0;
}

.ak-komunikacja-card .expand-btn {
  background: none;
  border: none;
  color: var(--ak-teal-ink);
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  z-index: 10;
  padding: 6px 0;
  align-self: flex-start;
}

.ak-komunikacja-card .expand-btn:hover {
  color: var(--ak-navy-dark);
}

.ak-komunikacja-card .expand-btn .arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
}

/* Kontener ikon 3D */
.ak-komunikacja-card .visual-container {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform-style: preserve-3d;
  transition:  transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, opacity 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.ak-komunikacja-card .bento-icon {
  width: 90px;
  height: 90px;
  overflow: visible;
  transform-style: preserve-3d;
}

.ak-komunikacja-card .icon-layer {
  transition:  transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, opacity 0.5s ease;
  transform-origin: center;
}

.ak-komunikacja-card:hover .layer-base { transform: translateZ(10px) scale(1.05); }
.ak-komunikacja-card:hover .layer-mid { transform: translateZ(30px) scale(1.05); }
.ak-komunikacja-card:hover .layer-top { transform: translateZ(55px) scale(1.05); }

/* Układ kart bento komunikacyjnych - Desktop (3 kolumny) */
.ak-komunikacja-card.card-oc {
  grid-column: span 3;
  border: 2px solid rgba(86, 168, 168, 0.28);
  background: linear-gradient(135deg, var(--ak-bg-white) 0%, #fbfdfd 100%);
}

.ak-komunikacja-card.card-ac {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--ak-bg-white) 0%, #fcfefe 100%);
}

.ak-komunikacja-card.card-assist {
  grid-column: span 1;
  background: linear-gradient(185deg, var(--ak-bg-white) 0%, #F3F8F8 100%);
}

.ak-komunikacja-card.card-nnw,
.ak-komunikacja-card.card-glass,
.ak-komunikacja-card.card-legal {
  grid-column: span 1;
}

.ak-komunikacja-card.card-gap {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--ak-bg-white) 0%, #f7fbfb 100%);
}

.ak-komunikacja-card .price-tag-callout {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateZ(25px);
  background: #1d3557;
  color: var(--ak-text-inverse);
  padding: 10px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(28, 59, 74, 0.15);
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition:  transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.ak-komunikacja-card.card-assist:hover .price-tag-callout {
  background: var(--ak-teal-action);
  transform: translateX(-50%) translateZ(65px) scale(1.05);
}

/* Tablet / Ekrany pośrednie (max-width: 1024px) - 2 kolumny */
@media (max-width: 1024px) {
  .ak-komunikacja-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
  .ak-komunikacja-card.card-oc {
    grid-column: span 2;
    padding: 28px 24px;
  }
  .ak-komunikacja-card.card-ac {
    grid-column: span 1;
    padding: 28px 24px;
  }
  .ak-komunikacja-card.card-assist {
    grid-column: span 1;
    grid-row: auto;
    padding: 28px 24px;
  }
  .ak-komunikacja-card.card-nnw {
    grid-column: span 1;
    padding: 28px 24px;
  }
  .ak-komunikacja-card.card-glass {
    grid-column: span 1;
    padding: 28px 24px;
  }
  .ak-komunikacja-card.card-legal {
    grid-column: span 1;
    padding: 28px 24px;
  }
  .ak-komunikacja-card.card-gap {
    grid-column: span 1;
    padding: 28px 24px;
  }
}

/* Mobile (max-width: 768px) - 1 kolumna */
@media (max-width: 768px) {
  .ak-komunikacja-grid {
    grid-template-columns: 1fr !important;
    grid-gap: 16px !important;
  }
  .ak-komunikacja-card,
  .ak-komunikacja-card.card-oc,
  .ak-komunikacja-card.card-ac,
  .ak-komunikacja-card.card-assist,
  .ak-komunikacja-card.card-nnw,
  .ak-komunikacja-card.card-glass,
  .ak-komunikacja-card.card-legal,
  .ak-komunikacja-card.card-gap {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    padding: 24px 20px !important;
    transform: none !important;
  }
  .ak-komunikacja-card:hover {
    transform: none !important;
  }
  .ak-komunikacja-card h3 {
    font-size: 19px !important;
    line-height: 1.35 !important;
  }
  .ak-komunikacja-card .card-text-wrapper {
    max-height: 96px;
  }
  .ak-komunikacja-card .card-text-wrapper.expanded {
    max-height: 1000px !important;
  }
  .ak-komunikacja-card .price-tag-callout {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none !important;
    margin-top: 15px;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .ak-komunikacja-card,
  .ak-komunikacja-card.card-oc,
  .ak-komunikacja-card.card-ac,
  .ak-komunikacja-card.card-assist,
  .ak-komunikacja-card.card-nnw,
  .ak-komunikacja-card.card-glass,
  .ak-komunikacja-card.card-legal,
  .ak-komunikacja-card.card-gap {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .ak-komunikacja-card h3 {
    font-size: 18px !important;
  }
}

/* --- 3. SEKCJA PORADNIKA I INFOGRAFIKI --- */
.ak-komunikacja-guide-section {
  padding: 50px 0;
  background-color: var(--ak-bg-white);
}

.ak-guide-header {
  width: 100%;
  margin-bottom: 24px;
}

.ak-guide-header h2,
.ak-guide-header h3 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  text-align: left;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
  margin: 0 0 16px 0;
  width: 100%;
}

.ak-guide-header p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  margin: 0 0 16px 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-guide-header p {
    margin-left: 20px;
  }
}

.ak-guide-infographic {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  width: 100%;
}

.ak-guide-infographic-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(86, 168, 168, 0.2);
  display: block;
}

/* --- 4. SEKCJA PROCESU (KALKULACJA I DOBÓR) --- */
.ak-komunikacja-process-section {
  padding: 50px 0;
  background-color: var(--ak-bg-light);
  border-top: 1px solid rgba(86, 168, 168, 0.12);
  border-bottom: 1px solid rgba(86, 168, 168, 0.12);
}

.ak-process-header {
  width: 100%;
  margin-bottom: 24px;
}

.ak-process-header h2 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  text-align: left;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
  margin: 0 0 16px 0;
  width: 100%;
}

.ak-process-header p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  margin: 0 0 16px 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-process-header p {
    margin-left: 20px;
  }
}

/* --- 5. SEKCJA FAQ DEDYKOWANEGO --- */
.ak-komunikacja-faq-section {
  padding: 50px 0;
  background-color: var(--ak-bg-white);
}

.ak-faq-header {
  width: 100%;
  margin-bottom: 30px;
}

.ak-faq-header h2 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  text-align: left;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
  margin: 0 0 16px 0;
  width: 100%;
}

.ak-faq-accordion {
  width: 100%;
  box-sizing: border-box;
}

.ak-faq-item {
  margin-bottom: 8px;
  background: var(--ak-bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(86, 168, 168, 0.18);
}

.ak-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ak-navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  box-sizing: border-box;
}

.ak-faq-question:hover {
  color: var(--ak-teal-ink);
}

.ak-faq-icon {
  font-size: 26px;
  font-weight: 400;
  color: var(--ak-teal-ink);
  transition: transform 0.4s ease;
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
}

.ak-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ak-faq-answer p {
  padding: 0 24px 22px;
  font-size: 16px;
  line-height: 1.65;
  color: #52525b;
  margin: 0;
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.ak-faq-item.active .ak-faq-icon {
  transform: rotate(45deg);
}

/* --- 6. SEKCJA KONTAKT CTA (3 PRZYCISKI + MAPA) --- */
.ak-komunikacja-contact-section {
  padding: 50px 0 60px;
  background-color: var(--ak-bg-light);
  border-top: 1px solid rgba(86, 168, 168, 0.12);
}

.ak-contact-header {
  width: 100%;
  margin-bottom: 30px;
}

.ak-contact-header h2 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--ak-navy-dark);
  text-align: left;
  text-wrap: normal;
  -webkit-text-wrap: normal;
  line-height: 1.3;
  margin: 0 0 16px 0;
  width: 100%;
}

.ak-contact-header p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  margin: 0 0 24px 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-contact-header p {
    margin-left: 20px;
  }
}

/* Przyciski kontaktowe - 100% wyśrodkowane w kontenerze */
.wawro-wrapper-x9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  padding: 10px 0 30px;
  box-sizing: border-box;
  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);
  text-decoration: none;
  padding: 14px 22px 14px 16px;
  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);
}

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

.wawro-icon-x9 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  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: 24px;
  height: 24px;
  fill: var(--ak-text-inverse);
}

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

.wawro-title-x9 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}

.wawro-sub-x9 {
  font-size: 13.5px;
  font-weight: 500;
  opacity: 1;
  letter-spacing: 0.2px;
}



/* --- RESPONSYWNOŚĆ MOBILNA ZGODNA Z REGULAMINEM --- */
@media (max-width: 768px) {
  .ak-subpage-h1,
  .ak-subpage-h2,
  .ak-bento-header h2,
  .ak-guide-header h2,
  .ak-guide-header h3,
  .ak-process-header h2,
  .ak-faq-header h2,
  .ak-contact-header h2 {
    text-align: center;
    margin: 0 auto 16px auto;
    width: 100%;
    max-width: 100%;
  }

  .ak-subpage-intro-p,
  .ak-bento-header .section-desc,
  .ak-guide-header p,
  .ak-process-header p,
  .ak-contact-header p {
    text-align: center;
    margin: 0 auto 16px auto;
    width: 100%;
    max-width: 100%;
  }

  .ak-breadcrumbs {
    text-align: center;
  }
}


/* Ujednolicony akapit bento card (Wzorzec Design System) */
[class*="-card"] p, .ak-kontakt-bento-content p {
  font-family: 'Inter', 'Inter Fallback', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  color: #52525b !important;
  margin-bottom: 8px !important;
}

/* Ujednolicone nagłówki H2/H3/H4 */
.ak-subpage-h2, .ak-bento-header h2, .ak-contact-header h2, .ak-guide-header h2, .ak-guide-header h3, .ak-process-header h2, .ak-faq-header h2, [class*="-card"] h3, .ak-kontakt-bento-content h3 {
  color: var(--ak-navy-dark) !important;
}

/* Ujednolicony akapit sekcji kontaktowej i intro */
.ak-subpage-intro-p, .ak-contact-header p {
  font-family: 'Inter', 'Inter Fallback', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  color: var(--ak-text-gray) !important;
  margin: 0 0 16px 0;
  width: 90%;
  max-width: 90%;
  box-sizing: border-box;
}

.ak-contact-header p {
  font-size: 17px !important;
  margin-bottom: 24px !important;
}

@media (min-width: 769px) {
  [class*="-card"] p, .ak-kontakt-bento-content p {
    text-align: left !important;
  }
  .ak-subpage-intro-p, .ak-contact-header p {
    margin-left: 20px !important;
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

/* RESPONSYWNOŚĆ MOBILNA - CENTROWANIE NAGŁÓWKÓW, AKAPITÓW I KART */
@media (max-width: 768px) {
  .ak-subpage-h1,
  .ak-subpage-h2,
  .ak-bento-header h2,
  .ak-why-header h2,
  .ak-guide-header h2,
  .ak-guide-header h3,
  .ak-process-header h2,
  .ak-faq-header h2,
  .ak-contact-header h2,
  [class*="-card"] h3,
  .card-content h3,
  .ak-kontakt-bento-content h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ak-subpage-intro-p,
  .ak-bento-header .section-desc,
  .ak-why-header p,
  .ak-guide-header p,
  .ak-process-header p,
  .ak-contact-header p,
  [class*="-card"] p,
  .card-content p,
  .card-text-wrapper p,
  .ak-kontakt-bento-content p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .card-badge {
    align-self: center !important;
  }

  .ak-breadcrumbs {
    text-align: center !important;
  }

  .ak-faq-question {
    font-size: 15.5px;
    padding: 16px 42px 16px 20px;
    text-align: center !important;
    justify-content: center !important;
    position: relative;
    width: 100%;
  }

  .ak-faq-icon {
    font-size: 22px;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .ak-faq-item.active .ak-faq-icon {
    transform: translateY(-50%) rotate(45deg);
  }

  .ak-faq-answer p {
    font-size: 15px;
    padding: 0 16px 18px;
    text-align: center !important;
  }
}

/* ==========================================================================
   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;
  }
}

/* FAQ (2026-10-01, etap B): ta strona nie ładuje faq.css — zwinięta odpowiedź wypada z kolejności Tab i z czytników ekranu */
.ak-faq-item:not(.active) .ak-faq-answer {
  visibility: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0s linear 0.4s;
}

.ak-faq-question:focus-visible {
  outline: 3px solid var(--ak-navy-dark);
  outline-offset: -3px;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .ak-faq-answer,
  .ak-faq-item:not(.active) .ak-faq-answer {
    transition: none;
  }
}
/* ==========================================================================
   WZMOCNIENIE STRONY (2026-10-06): podpis autorów, kroki wyceny, lista dokumentów,
   „Kiedy warto do nas zadzwonić?”, opinie klientów. Tekst: wyjustowany na komputerze,
   wyśrodkowany na telefonie; cytaty opinii do lewej (jak na stronie głównej).
   ========================================================================== */
.ak-subpage-byline {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ak-text-muted);
  margin: 8px 0 0 20px;
  width: 90%;
}

.ak-subpage-byline a,
.ak-opinie-more a {
  color: var(--ak-teal-ink);
}

.ak-process-steps,
.ak-process-docs {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ak-text-gray);
  width: 90%;
  margin: 0 0 16px 20px;
  padding-left: 22px;
  box-sizing: border-box;
}

.ak-process-steps li,
.ak-process-docs li {
  margin-bottom: 8px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.ak-process-steps li strong,
.ak-komunikacja-kiedy-section p strong {
  color: var(--ak-navy-dark);
}

.ak-process-header .ak-process-docs-title {
  margin-bottom: 8px;
}

.ak-komunikacja-kiedy-section {
  padding: 50px 0 30px;
  background-color: var(--ak-bg-white);
}

.ak-komunikacja-opinie-section {
  padding: 50px 0;
  background-color: var(--ak-bg-light);
  border-top: 1px solid rgba(86, 168, 168, 0.12);
  border-bottom: 1px solid rgba(86, 168, 168, 0.12);
}

.ak-opinie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ak-opinia-card {
  margin: 0;
  background: var(--ak-bg-white);
  border: 1px solid var(--ak-border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--ak-shadow-card);
}

.ak-opinia-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.ak-opinia-card blockquote {
  margin: 0 0 12px 0;
}

.ak-opinia-card blockquote p {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ak-text-gray);
  margin: 0;
  text-align: left;
}

/* Najnowsza, dłuższa opinia (2026-10-10): na całą szerokość siatki, nad trzema krótszymi */
.ak-opinia-card--wide {
  grid-column: 1 / -1;
}

.ak-opinia-card--wide blockquote p + p {
  margin-top: 8px;
}
.ak-opinia-card figcaption {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ak-navy-dark);
}

.ak-opinie-more {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 0 0;
  text-align: center;
}

@media (max-width: 992px) {
  .ak-opinie-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ak-subpage-byline,
  .ak-process-steps,
  .ak-process-steps li,
  .ak-process-docs,
  .ak-process-docs li,
  .ak-opinia-card,
  .ak-opinia-card blockquote p {
    text-align: center !important;
  }

  .ak-subpage-byline {
    margin: 8px auto 0 auto;
    width: 100%;
  }

  .ak-process-steps,
  .ak-process-docs {
    width: 100%;
    margin: 0 auto 16px auto;
    padding-left: 0;
    list-style-position: inside;
  }
}

/* Ocena Google pod H1 — jak .ak-hero-rating na stronie głównej (2026-10-31) */
.ak-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ak-text-gray);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.ak-hero-rating b {
  color: var(--ak-navy-dark);
}

.ak-hero-rating:hover {
  color: var(--ak-teal-ink);
}

.ak-hero-rating:focus-visible {
  outline: 3px solid var(--ak-navy-dark);
  outline-offset: 4px;
}

.ak-hero-stars {
  display: inline-flex;
  gap: 1px;
}

.ak-hero-stars svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

@media (max-width: 768px) {
  .ak-hero-rating {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    width: fit-content;
    margin: 0 auto 16px auto;
  }

  .ak-hero-stars svg {
    width: 16px;
    height: 16px;
  }
}

/* Tabela: OC, AC, Assistance, NNW (2026-11-01) */
.ak-polisa-table {
  width: 90%;
  margin: 24px 0 0 0;
  border-collapse: collapse;
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ak-text-gray);
  background-color: var(--ak-bg-white);
}

.ak-polisa-table th,
.ak-polisa-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ak-border-light);
}

.ak-polisa-table thead th {
  font-weight: 700;
  color: var(--ak-navy-dark);
  background-color: var(--ak-bg-light);
}

.ak-polisa-table tbody th {
  font-weight: 600;
  color: var(--ak-navy-dark);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ak-polisa-table,
  .ak-polisa-table tbody,
  .ak-polisa-table tr,
  .ak-polisa-table th,
  .ak-polisa-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .ak-polisa-table thead {
    display: none;
  }

  .ak-polisa-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--ak-border-light);
  }

  .ak-polisa-table th,
  .ak-polisa-table td {
    padding: 2px 0;
    text-align: center;
    border-bottom: 0;
  }

  .ak-polisa-table tbody th {
    white-space: normal;
  }

  .ak-polisa-table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--ak-navy-dark);
  }
}
