@charset "UTF-8";
/* ==========================================================================
   PATRON FINANSE – OFICJALNY ARKUSZ STYLÓW SERWISU PATRONB2B.PL
   Wersja: 3.6.6 (Standard Produkcyjny: Październik 2026 r.)
   Architektura: Szlachetny Jasny Gabinet Biznesowy (Zero-Dark-Mode)
   Tożsamość: Śliwka Biskupia (#4F1435), Złoto Dukatowe (#C5A880), Biel, Antracyt
   Zgodność: ANG Odpowiedzialne Finanse S.A. | dhosting.pl LiteSpeed
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ZMIENNE GLOBALNE & TOŻSAMOŚĆ WIZUALNA
   -------------------------------------------------------------------------- */
:root {
  --plum: #4F1435;              /* Biskupia śliwka PATRON */
  --plum-deep: #350A22;         /* Głęboka czerń śliwkowa */
  --plum-light: #6A214A;        /* Rozjaśniony akcent śliwkowy */
  --plum-bg: #F5EEF3;           /* Pastelowe tło podświetleń śliwkowych */

  --gold: #C5A880;              /* Złoto bazowe */
  --gold-light: #DFC196;        /* Rozbielone złoto piaskowe */
  --gold-dark: #A07F55;         /* Głęboki brąz dukatowy */
  --gold-gradient: linear-gradient(135deg, #A07F55 0%, #DFC196 50%, #C5A880 100%);
  --gold-gradient-hover: linear-gradient(135deg, #8E6E45 0%, #D4B281 50%, #B2956D 100%);

  --ink: #1C1924;               /* Główny antracyt tekstowy */
  --ink-light: #383244;         /* Zmiękczony kolor akapitów */
  --muted: #5E586E;             /* Dyskretny tekst pomocniczy i metadane */

  --bg: #FBF9FA;                /* Jasne tło całego serwisu (Zero-Dark-Mode) */
  --surface: #FFFFFF;           /* Czysta biel kafelków i modułów */
  --surface-alt: #F3EDF1;       /* Dyskretny śliwkowo-szary podkład */
  --line: #E4DCE1;              /* Subtelne linie podziału */
  --line-strong: #C7B8C2;       /* Wyraziste obramowania pól */

  --ang-violet: #591245;        /* Pantone 512 C - Fiolet bazowy ANG */
  --ang-credit: #D32858;        /* Pantone 191 C - Róż Kredytowy */
  --ang-business: #049CB5;      /* Pantone 638 C - Turkus Przedsiębiorstw */
  --ang-insurance: #B89000;     /* Złoto Asekuracyjne */

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(79, 20, 53, 0.05);
  --shadow: 0 8px 24px -4px rgba(79, 20, 53, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(79, 20, 53, 0.14);
  --font: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1240px;
}

/* --------------------------------------------------------------------------
   2. RESET, BAZA DOKUMENTU & DOSTĘPNOŚĆ (.skip-link)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 10px;
  background: var(--plum);
  color: #FFFFFF !important;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--plum);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--gold-dark);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. NAGŁÓWEK GŁÓWNY & NAWIGACJA Z MENU ROZWIJANYM (3 FILARY)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 249, 250, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.25s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-light);
  padding: 10px 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--plum);
}

.site-nav > .site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
}

.nav-item--dropdown {
  position: relative;
}

.nav-item--dropdown > .site-nav__link::after {
  content: "▾";
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item--dropdown > .site-nav__link[aria-current="page"]::after {
  position: static;
  width: auto;
  height: auto;
  background: none;
}

.nav-item--dropdown > .site-nav__link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--plum);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 12px 0;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__link:focus-visible,
.nav-dropdown__link:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

.nav-dropdown__link {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-light);
  display: block;
  white-space: nowrap;
}

.nav-dropdown__link:hover {
  background: var(--plum-bg);
  color: var(--plum);
}

.nav-dropdown__link[aria-current="page"] {
  color: var(--plum);
  background: var(--plum-bg);
  font-weight: 700;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.site-header__phone {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--plum);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   4. PRZYCISKI (.btn, .btn--urgent, .btn--phone)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  line-height: 1.2;
  text-decoration: none;
}

.btn--urgent {
  background: var(--gold-gradient) !important;
  color: #FFFFFF !important;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none !important;
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn--urgent:hover {
  background: var(--gold-gradient-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.5);
  color: #FFFFFF !important;
}

.btn--outline {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid var(--plum);
}

.btn--outline:hover {
  background: var(--plum);
  color: #FFFFFF !important;
}

.btn--phone {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  gap: 8px;
}

.btn--phone:hover {
  border-color: var(--plum);
  color: var(--plum);
  background: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. SEKCJA HERO (.page-hero)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 64px 0 52px 0;
  background: linear-gradient(180deg, rgba(79, 20, 53, 0.03) 0%, rgba(251, 249, 250, 0) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero__breadcrumbs {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-hero__breadcrumbs a {
  color: var(--muted);
}

.page-hero__breadcrumbs a:hover {
  color: var(--plum);
}

.page-hero__title {
  font-size: 2.65rem;
  font-weight: 800;
  color: var(--plum);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 940px;
}

.page-hero__lead {
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.6;
  max-width: 860px;
  margin-bottom: 30px;
}

.page-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   6. ETYKIETY (.badge) & MODUŁY KART (.card-grid, .card)
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
  width: fit-content;
}

.badge--business {
  background: #E6F5F8;
  color: #03687A;
  border: 1px solid #B2E2E8;
}

.badge--credit {
  background: #FCE8EE;
  color: #9C183C;
  border: 1px solid #F7B8C9;
}

.badge--insurance {
  background: #FFF9D6;
  color: #7A6200;
  border: 1px solid #FFE77A;
}

.badge--plum {
  background: var(--plum-bg);
  color: var(--plum);
  border: 1px solid #DCBED0;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background-color: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  margin-bottom: 44px;
}

.section-header__title {
  font-size: 2.05rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 12px;
  line-height: 1.22;
}

.section-header__desc {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 780px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

@media (min-width: 993px) {
  .card-grid > .card:nth-child(5):not(.card--feature) {
    grid-column: span 2;
  }
}

.card--feature {
  grid-column: 1 / -1 !important;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--plum-bg) 100%);
  border: 1.5px solid #DCBED0;
}

.card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 12px;
  line-height: 1.32;
}

.card__desc {
  font-size: 0.94rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card__list {
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card__list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.card__list li::before {
  content: "•";
  color: var(--gold-dark);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* --------------------------------------------------------------------------
   7. GABINETOWE MODELE ANALITYCZNE & CENTRALNY FORMULARZ GOOGLE IFRAME
   -------------------------------------------------------------------------- */
.iframe-container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 36px 0;
  box-shadow: var(--shadow);
}

.iframe-trigger {
  text-align: center;
  padding: 40px 20px;
}

.iframe-trigger p {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.iframe-holder {
  width: 100%;
  min-height: 880px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.iframe-holder iframe {
  display: block;
  width: 100%;
  height: 880px;
  min-height: 880px;
  border: 0;
  margin: 0;
  background: #FFFFFF;
}

/* --------------------------------------------------------------------------
   8. MODUŁ KONTAKTU GOSPODARCZEGO (.form-panel & .form-actions)
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}

.form-panel__header {
  margin-bottom: 28px;
  text-align: center;
}

.form-panel__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 8px;
}

.form-panel__desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.form-note a {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. MANIFEST (.silence) & STOPKA COMPLIANCE (.site-footer)
   -------------------------------------------------------------------------- */
.silence {
  padding: 68px 0;
  background: var(--plum);
  color: #FFFFFF;
  text-align: center;
}

.silence__title {
  font-size: 2.05rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.silence__desc {
  font-size: 1.02rem;
  color: #F5EDF2;
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.68;
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  padding: 52px 0 34px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.site-footer__entity {
  font-style: normal;
  line-height: 1.7;
}

.site-footer__entity strong {
  color: var(--ink);
  font-weight: 700;
}

.site-footer__entity a {
  color: var(--plum);
  font-weight: 600;
}

.site-footer__entity a:hover {
  color: var(--gold-dark);
}

/* Moduł partnerski ANG w stopce 3_6_6 – kaseton 440px bez tekstu */
.ang-partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.ang-partner-badge img {
  height: 68px;
  width: auto;
  max-width: 100%;
  display: block;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.site-footer__links {
  display: flex;
  gap: 20px;
}

.site-footer__links a {
  color: var(--muted);
  text-decoration: underline;
}

.site-footer__links a:hover {
  color: var(--plum);
}

/* --------------------------------------------------------------------------
   10. RESPONSYWNOŚĆ (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 992px) {
  .card-grid, .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hero__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    height: 70px;
  }
  .page-hero {
    padding: 44px 0 36px 0;
  }
  .page-hero__title {
    font-size: 1.8rem;
  }
  .page-hero__lead {
    font-size: 1rem;
  }
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero__actions .btn {
    width: 100%;
  }
  .card-grid, .card-grid--2, .card-grid--4 {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 30px 18px;
  }
  .site-footer__grid, .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .ang-partner-badge {
    justify-content: flex-start;
  }
  .iframe-holder,
  .iframe-holder iframe {
    height: 1080px;
    min-height: 1080px;
  }
}

/* ==========================================================================
   11. WERSJA 3.6.7 (16.10.2026): PORTRET, AVATAR, KLASY ZAMIAST STYLÓW INLINE
   ========================================================================== */

/* Hero strony głównej: tekst po lewej, portret po prawej */
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 40px;
}

.page-hero__portrait {
  margin: -24px 0 -52px 0;
  align-self: end;
}

.page-hero__portrait img {
  display: block;
  width: 100%;
  height: auto;
}

/* Avatar pośrednika: #formularz (główna + 14 podstron) i kalkulatory ANG (4) */
.form-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 24px auto;
  text-align: left;
}

.form-person__photo {
  display: block;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-light);
  background: #FFFFFF;
}

.form-person__text {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.45;
  margin: 0;
}

.form-person__text strong {
  display: block;
  color: var(--plum);
  font-weight: 700;
}

.form-person__text a {
  color: var(--plum);
  font-weight: 700;
}

/* Klasy zastępujące style inline (standard: zero atrybutów style) */
.section-header--center {
  text-align: center;
}

.section-header--center .section-header__desc {
  margin: 0 auto;
}

.card__list--plain {
  border: none;
  padding: 0;
}

.calc-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.form-note--spaced {
  margin-top: 20px;
}

@media (max-width: 992px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  /* Telefon: portret chowa się w hero (przycisk „Zadzwoń” zostaje na 1. ekranie),
     twarz widoczna w avatarze przy formularzu */
  .page-hero__grid {
    grid-template-columns: 1fr;
  }
  .page-hero__portrait {
    display: none;
  }
  .form-person {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  /* Nagłówek mieści się w 360–390 px bez poziomego przewijania */
  .site-header__logo img {
    height: 38px;
  }
  .site-header__actions {
    gap: 10px;
  }
  .site-header__phone {
    font-size: 0.86rem;
  }
  .site-header__actions .btn {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
}
