/* Author: Szymon Kolano (https://github.com/skolano) */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/figtree-normal-latin-ext.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: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/figtree-normal-latin.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: 'Lora';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/lora-normal-latin-ext.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: 'Lora';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/lora-normal-latin.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: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/lora-italic-latin-ext.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: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/lora-italic-latin.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 {
  --ink: #0e3b3c;
  --ink-light: #175655;
  --accent: #e0913c;
  --accent-deep: #b96f24;
  --accent-soft: #f0c893;
  --bg: #fbf7f1;
  --surface: #ffffff;
  --ink-text: #23201b;
  --text-muted: #5b564c;
  --border: #e6dccb;
  --wood: #523304;
  --header-h: 77px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Figtree', system-ui, sans-serif;
  color: var(--ink-text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Lora', Georgia, serif;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-title {
  font-size: 34px;
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: 18px;
}

.lead {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 145, 60, .35);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .06);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: var(--ink-light);
}

.btn-small {
  min-height: 42px;
  padding: 9px 20px;
  font-size: 14px;
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.card-accent {
  border-color: var(--accent);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 36px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlink {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 4px;
  transition: color .15s;
}

.navlink:hover {
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Hero */

.hero {
  padding: 108px 0 96px;
  background: linear-gradient(160deg, var(--ink-light), var(--ink));
  color: #fff;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero .eyebrow {
  color: var(--accent-soft);
}

.hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.15;
  max-width: 780px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  color: rgba(255, 255, 255, .85);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Grids */

.split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.split-even {
  grid-template-columns: 1fr 1fr;
}

.split-contact {
  grid-template-columns: 5fr 7fr;
  align-items: start;
}

.quote-card {
  margin: 0;
}

.contact-list address {
  font-style: normal;
}

.quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.quote-author {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services h3 {
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.services p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Daj znak */

#daj-znak {
  background: linear-gradient(160deg, var(--ink-light), var(--ink));
  color: #fff;
}

.dajznak {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 56px;
  align-items: center;
}

.dajznak > * {
  min-width: 0;
}

.dajznak .eyebrow {
  color: var(--accent-soft);
}

.dajznak .section-title {
  color: #fff;
}

.dajznak p {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 28px;
}

.dajznak-visual {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}

.dajznak-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.dajznak-visual:hover > img {
  transform: scale(1.03);
}

.dajznak-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35));
}

.dajznak-chip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* Support */

.support .lead {
  margin-bottom: 24px;
}

.account-label {
  margin-bottom: 10px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.account-number {
  font-family: 'Lora', Georgia, serif;
  font-size: 21px;
  letter-spacing: .02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s;
}

.copy-btn:hover {
  border-color: var(--accent);
}

.copy-btn[data-copied="true"] {
  border-color: var(--ink-light);
  color: var(--ink-light);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

.recipient {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-muted);
}

.contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list a {
  transition: color .15s;
}

.contact-list a:hover {
  color: var(--accent-deep);
}

.map {
  position: relative;
  display: block;
  height: 340px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: #f1ece1;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.map:hover img {
  transform: scale(1.02);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3));
}

.map-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.map-attribution {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .88);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Footer */

.site-footer {
  background: var(--wood);
  color: rgba(255, 255, 255, .78);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-badge {
  width: 34px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badge img {
  width: 26px;
  height: 28px;
  object-fit: contain;
}

.footer-brand span {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  padding: 6px 0;
  transition: color .15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, .15);
  margin: 22px 0;
}

.footer-legal {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
}

/* Subpages */

.page {
  padding: 72px 0 96px;
}

.page .wrap {
  max-width: 780px;
}

.page h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 10px 0 20px;
}

.page .lead {
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-deep);
}

.back-link:hover {
  color: var(--ink);
}

/* Responsive */

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dajznak {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split,
  .split-even,
  .split-contact {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1.5px solid var(--border);
    box-shadow: 0 14px 24px rgba(14, 59, 60, .08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .navlink {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .btn {
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 69px;
  }

  .wrap {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-self: stretch;
  }

  .section-title {
    font-size: 28px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  .dajznak .btn {
    width: 100%;
  }

  .account-number {
    font-size: clamp(13px, 3.9vw, 18px);
    letter-spacing: 0;
  }

  .map {
    height: 260px;
  }

  .page h1 {
    font-size: 30px;
  }
}

@media (max-width: 340px) {
  .account-number {
    white-space: normal;
  }
}
