/* ==========================================================================
   PODSTRONA: UBEZPIECZENIA NIERUCHOMOŚCI 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-subpage-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);
}

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

.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;
  }
}

/* H2 w sekcji intro */
.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 filary) --- */
.ak-nieruchomosci-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;
}

/* Tabela: części polisy (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);
  }
}

.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-bento-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  box-sizing: border-box;
}

.ak-bento-card {
  background: var(--ak-bg-white);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(86, 168, 168, 0.2);
  box-shadow: 0 6px 24px rgba(28, 59, 74, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:  transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  box-sizing: border-box;
}

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

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

.ak-bento-card:hover {
  box-shadow: 0 16px 40px rgba(28, 59, 74, 0.09);
  border-color: rgba(86, 168, 168, 0.5);
}

.ak-bento-card .card-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ak-bento-card .card-badge {
  display: inline-flex;
  align-self: flex-start;
  background-color: rgba(86, 168, 168, 0.12);
  color: var(--ak-teal-ink);
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  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-bento-card:hover .card-badge {
  background-color: var(--ak-teal-action);
  color: var(--ak-text-inverse);
}

.ak-bento-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-bento-card .card-text-wrapper {
  position: relative;
  max-height: 92px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.ak-bento-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.3s ease;
  pointer-events: none;
}

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

.ak-bento-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;
  padding: 8px 0 0;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 3;
  align-self: flex-start;
}

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

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

.ak-bento-card.card-family { grid-column: span 1; } /* 2026-10-06: zamiana z kartą cesji */
.ak-bento-card.card-global { grid-column: span 1; }
.ak-bento-card.card-invest { grid-column: span 1; }
.ak-bento-card.card-najemca { grid-column: span 1; }
.ak-bento-card.card-credit { grid-column: span 2; } /* 2026-10-06: szeroka karta w pierwszym rzędzie */

@media (max-width: 992px) {
  .ak-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-bento-card.card-family,
  .ak-bento-card.card-credit {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .ak-bento-grid {
    grid-template-columns: 1fr;
  }
  .ak-bento-card,
  .ak-bento-card.card-family,
  .ak-bento-card.card-global,
  .ak-bento-card.card-invest,
  .ak-bento-card.card-najemca,
  .ak-bento-card.card-credit {
    grid-column: span 1;
    padding: 24px 20px;
  }
}

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

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

.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;
  }
}

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

.ak-infographic-img {
  max-width: 760px;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(86, 168, 168, 0.2);
  display: block;
}

/* --- 4. SEKCJA FAQ DEDYKOWANEGO --- */
.ak-nieruchomosci-faq-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-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 {
  border-bottom: 1px solid rgba(86, 168, 168, 0.2);
  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.15);
}

.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);
}

/* --- 5. SEKCJA KONTAKT CTA (3 PRZYCISKI + MAPA) --- */
.ak-nieruchomosci-contact-section {
  padding: 50px 0 60px;
  background-color: var(--ak-bg-white);
}

.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-process-header h2,
  .ak-faq-header h2,
  .ak-contact-header h2,
  [class*="-card"] h3,
  .card-content h3 {
    text-align: center !important;
    margin: 0 auto 16px auto;
    width: 100%;
    max-width: 100%;
  }

  .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;
  }

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

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

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

  .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;
  }
}

/* ==========================================================================
   WZMOCNIENIE STRONY (2026-10-06): podpis autorów, sekcja „Od czego zależy cena”,
   kroki wyceny, opinie klientów. Tekst: wyjustowany na komputerze, wyśrodkowany na telefonie.
   ========================================================================== */
.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 {
  color: var(--ak-teal-ink);
}

.ak-nieruchomosci-cena-section {
  padding: 50px 0 20px;
  background-color: var(--ak-bg-white);
}

.ak-process-steps {
  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 {
  margin-bottom: 10px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

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

.ak-nieruchomosci-opinie-section {
  padding: 50px 0;
  background-color: var(--ak-bg-light);
  border-top: 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; /* jak karty opinii na stronie głównej: krótkie cytaty w wąskich kartach */
}

.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;
}

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

@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-opinia-card,
  .ak-opinia-card blockquote p {
    text-align: center !important;
  }

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

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