/* KB KREDYTY – kbkredyty.pl */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --granat: #0B1E3A;
  --zloty: #C8A24C;
  --bialy: #FFFFFF;
  --tlo: #F4F2EC;
  --szary: #4A5163;
  --linia: #DAD6CC;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--granat);
  background: var(--bialy);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--zloty); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; }
section { scroll-margin-top: 80px; }
.nowrap { white-space: nowrap; }

/* Nagłówek */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--granat);
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--bialy);
  text-decoration: none;
}
.brand svg { width: 46px; height: 32px; }
.brand span { font-size: 13px; font-weight: 600; letter-spacing: 3px; }
.nav { display: none; }
.call-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zloty);
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-round svg { width: 22px; height: 22px; }

/* Ikony liniowe */
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Etykieta sekcji */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--zloty); flex-shrink: 0; }
.dark .label { color: var(--zloty); }

h1, h2, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.1; }
h2 { font-size: 34px; }

/* Start */
.dark { background: var(--granat); color: var(--bialy); }
.hero { padding: 32px 16px 56px; }
.hero .wrap { display: flex; flex-direction: column; gap: 24px; }
.hero-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-photo { order: -1; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 12px; }

.who { display: flex; align-items: center; gap: 14px; }
.who-photo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--zloty);
}
.who-name { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; }
.who-role { font-size: 13px; font-weight: 500; color: var(--zloty); margin-top: 2px; }

.hero h1 { font-size: 36px; color: var(--bialy); }
.lead { font-size: 17px; }

.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; color: var(--zloty); margin-top: 1px; }

.small { font-size: 14px; }

.buttons { display: flex; flex-direction: column; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--zloty); color: var(--granat); }
.btn-gold:hover { background: #D6B465; }
.btn-line { border: 2px solid var(--bialy); color: var(--bialy); font-weight: 600; }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.btn-navy { background: var(--granat); color: var(--bialy); }
.btn-navy:hover { background: #1A3157; }

.big-phone {
  align-self: flex-start;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--zloty);
  text-decoration: none;
}

/* Sekcje jasne */
.block { padding: 56px 16px; }
.block .wrap { display: flex; flex-direction: column; gap: 28px; }
.head { display: flex; flex-direction: column; gap: 10px; }
.beige { background: var(--tlo); }
.muted { color: var(--szary); }

/* Dlaczego warto */
.why { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
.why li { display: flex; gap: 16px; align-items: flex-start; }
.why-ico {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--granat);
  color: var(--zloty);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-ico svg { width: 26px; height: 26px; }
.why h3 { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--szary); }
.why p { font-size: 18px; font-weight: 600; line-height: 1.35; margin-top: 4px; }

/* Oferta */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card {
  background: var(--bialy);
  border: 1px solid var(--linia);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(11, 30, 58, 0.06), 0 8px 24px rgba(11, 30, 58, 0.06);
}
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tlo); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ai-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 30, 58, 0.85);
  color: var(--bialy);
  font-size: 12px;
  font-weight: 500;
}
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-size: 32px; }
.card p { font-size: 16px; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card-body p + .btn { margin-top: 12px; }

/* Współpraca */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; }
.steps li { display: flex; align-items: center; gap: 16px; }
.num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zloty);
  color: var(--granat);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
}
.steps p { font-size: 17px; font-weight: 500; }

/* O mnie */
.about { display: flex; flex-direction: column; gap: 28px; }
.about img { width: 100%; aspect-ratio: 800 / 1064; object-fit: cover; border-radius: 12px; }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-more { display: flex; flex-direction: column; gap: 18px; }
.about-text p { font-size: 16px; }
.strong { font-weight: 600; }

/* Kontakt */
.contact { padding: 56px 16px 40px; }
.contact .wrap { display: flex; flex-direction: column; gap: 40px; }
.contact-main { display: flex; flex-direction: column; gap: 20px; }
.contact h2 { color: var(--bialy); }
.mail { align-self: flex-start; padding: 10px 0; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.info { display: flex; flex-direction: column; gap: 24px; }
.info > div { display: flex; gap: 14px; }
.info svg { width: 22px; height: 22px; color: var(--zloty); }
.info dt { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--zloty); }
.info dd { margin-top: 4px; font-size: 16px; }
.map-link { display: inline-block; padding: 12px 0; font-size: 15px; font-weight: 600; }

.foot { padding: 0 16px 32px; }
.foot .wrap { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; }

/* Baner pod ofertą */
.cta {
  background: var(--granat);
  color: var(--bialy);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-text { display: flex; flex-direction: column; gap: 8px; }
.cta-title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }

/* O mnie – lista */
.about-text .about-lead { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.25; }
.about-sub { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--szary); margin-top: 6px; }
.about-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-list li { position: relative; padding-left: 22px; font-size: 16px; }
.about-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--zloty); }

/* Opinie – odnośniki */
.reviews { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.btn-outline { border: 2px solid var(--granat); color: var(--granat); font-weight: 600; }
.btn-outline:hover { background: rgba(11, 30, 58, 0.06); }
.btn-outline svg { color: var(--zloty); }
.text-link { display: inline-block; padding: 12px 0; font-size: 15px; font-weight: 600; }

/* Komputer */
@media (min-width: 900px) {
  .top { padding: 0 24px; }
  .top .wrap { min-height: 80px; }
  .brand svg { width: 58px; height: 40px; }
  .brand span { font-size: 15px; letter-spacing: 4px; }
  .nav { display: flex; align-items: center; gap: 28px; }
  .nav a { color: var(--bialy); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
  .nav a:hover { color: var(--zloty); }
  .nav .nav-phone { display: flex; align-items: center; gap: 8px; color: var(--zloty); font-size: 16px; font-weight: 600; }
  .nav-phone svg { width: 16px; height: 16px; }
  .call-round { display: none; }

  h2 { font-size: 46px; }
  .label { font-size: 13px; letter-spacing: 4px; gap: 12px; }
  .label::before { width: 32px; }

  .hero { padding: 64px 24px 88px; }
  .hero .wrap { flex-direction: row; align-items: center; gap: 64px; }
  .hero-text { flex: 1 1 560px; gap: 24px; }
  .hero-photo { order: 0; flex: 0 1 400px; min-width: 0; }
  .hero-photo img { height: 560px; aspect-ratio: auto; }
  .who-photo { display: none; }
  .who-name { font-size: 28px; }
  .who-role { font-size: 14px; }
  .hero h1 { font-size: 58px; line-height: 1.05; }
  .lead { font-size: 19px; max-width: 600px; }
  .ticks li { font-size: 17px; }
  .buttons { flex-direction: row; flex-wrap: wrap; gap: 16px; }

  .block { padding: 88px 24px; }
  .block .wrap { gap: 48px; }

  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .why li { flex-direction: column; gap: 16px; }
  .why-ico { width: 64px; height: 64px; }
  .why-ico svg { width: 30px; height: 30px; }
  .why p { font-size: 20px; }

  .cards { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card-body { padding: 36px 40px 40px; gap: 14px; }
  .card h3 { font-size: 38px; }
  .card p { font-size: 17px; }

  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps li { flex-direction: column; align-items: flex-start; gap: 16px; }
  .num { width: 56px; height: 56px; font-size: 30px; }
  .steps p { font-size: 18px; }

  .block .about {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    column-gap: 56px;
    row-gap: 40px;
    align-items: center;
  }
  #o-mnie { padding-bottom: 56px; }
  .about picture { grid-column: 1; }
  .about-text { grid-column: 2; }
  .about-more { grid-column: 1 / -1; gap: 20px; padding-top: 36px; border-top: 1px solid var(--linia); }
  .about-more .about-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .about-more .about-list strong { display: block; margin-bottom: 6px; font-size: 18px; }
  .about-more > p { max-width: 860px; font-size: 18px; }
  .about-text { flex: 1 1 420px; gap: 20px; }
  .about-text p { font-size: 17px; }

  .cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; }
  .cta-title { font-size: 36px; }
  .cta-buttons { flex-direction: row; flex-wrap: wrap; gap: 16px; flex-shrink: 0; }
  .about-text .about-lead { font-size: 28px; }
  .about-list li { font-size: 17px; }

  .contact { padding: 96px 24px 64px; }
  .contact .wrap { flex-direction: row; flex-wrap: wrap; gap: 56px; }
  .contact-main { flex: 1 1 460px; }
  .info { flex: 1 1 360px; gap: 28px; }
  .mail { font-size: 18px; }
  .info dt { font-size: 13px; }
  .info dd { font-size: 17px; }

  .foot { padding: 0 24px 40px; }
  .foot .wrap { font-size: 14px; }
}


/* Banki pod kartami oferty */
.banks { font-size: 13px; line-height: 1.55; color: var(--szary); border-top: 1px solid rgba(11, 30, 58, 0.12); padding-top: 12px; margin-top: auto; }
.banks span { display: block; font-weight: 600; color: var(--granat); margin-bottom: 4px; }

/* Informacje o posrednictwie */
.info-text { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.info-text p { margin: 0; }
.info-text a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot a { display: inline-block; padding: 12px 0; text-decoration: underline; text-underline-offset: 3px; }
