/* Wygenerowano przez PostCSS + Autoprefixer. Edytuj src/styles.css. */
/* Podstawy: systemowy Arial, lokalne zasoby, bez bibliotek interfejsu. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  color: #17191c;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Kliknięcie nie rysuje ramki. Fokus klawiatury pozostaje widoczny. */
a:focus {
  outline: none;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #17191c;
  outline-offset: 5px;
}

a:focus:not(:focus-visible) {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -120px;
  left: 16px;
  padding: 12px 18px;
  background: #17191c;
  color: #ffffff;
  font-weight: 700;
}

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

/* Nagłówek i oryginalne logo. */
.site-header {
  flex-shrink: 0;
}

.header-inner,
.footer-inner {
  width: calc(100% - 112px);
  max-width: 1392px;
  margin: 0 auto;
}

.header-inner {
  padding: 18px 0 12px;
}

.brand {
  display: inline-block;
  border-radius: 4px;
  vertical-align: middle;
}

.brand-logo {
  width: 286px;
  height: auto;
}

/* Główna sekcja: tekst i kontakt obok zdjęcia. */
.main-content {
  display: flex;
  flex: 1 0 auto;
  align-items: flex-start;
  width: calc(100% - 48px);
  max-width: 1488px;
  margin: 0 auto;
  padding: 8px 0 16px;
}

.main-content:focus {
  outline: none;
}

.hero {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 40px 48px 44px;
  border-radius: 18px;
  background: #faf9f7;
}

.eyebrow {
  margin: 0 0 16px;
  color: #aa4c00;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.4px;
}

h1 span {
  display: block;
}

.intro {
  max-width: 550px;
  margin: 22px 0 0;
  color: #505255;
  font-size: 18px;
  line-height: 1.65;
}

/* Kontakt. Ikony to oddzielne, lokalne pliki SVG. */
.contact-list {
  margin: 28px 0 0;
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.contact-item:first-child {
  margin-top: 0;
}

.contact-icon {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-right: 20px;
  border-radius: 11px;
  background: #ffeddb;
}

.contact-details {
  min-width: 0;
}

.contact-label {
  display: block;
  margin-bottom: 2px;
  color: #686b71;
  font-size: 14px;
  line-height: 1.5;
}

.contact-value {
  display: inline-block;
  max-width: 100%;
  padding: 3px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-decoration: none;
  text-underline-offset: 4px;
}

.contact-value:hover {
  color: #984200;
  text-decoration: underline;
}

.phone-number {
  white-space: nowrap;
}

.hero-media {
  position: relative;
  flex: 0 0 42%;
  width: 42%;
  min-height: 670px;
  margin-left: 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #22201e;
}

.hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
}

/* Stopka. */
.site-footer {
  flex-shrink: 0;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.footer-inner small {
  color: #6c6f76;
  font-size: 13px;
}

.footer-accent {
  width: 64px;
  height: 2px;
  margin-left: 24px;
  background: #ff8500;
}

/* Mniejsze laptopy i tablety. */
@media (max-width: 1199px) {
  .header-inner,
  .footer-inner {
    width: calc(100% - 80px);
  }

  .hero-copy {
    padding: 36px 32px 40px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -1.1px;
  }

  .hero-media {
    margin-left: 24px;
  }

  .contact-icon {
    margin-right: 14px;
  }

  .contact-value {
    font-size: 17px;
  }

}

@media (min-width: 768px) and (max-width: 999px) {
  .hero-copy {
    padding-right: 24px;
    padding-left: 24px;
  }

  h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }
}

/* Telefon: najpierw pełny kontakt, potem zdjęcie. */
@media (max-width: 767px) {
  .header-inner,
  .footer-inner {
    width: calc(100% - 48px);
  }

  .header-inner {
    padding: 19px 0 17px;
  }

  .brand-logo {
    width: 238px;
  }

  .main-content {
    width: calc(100% - 32px);
    padding: 8px 0 16px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-copy {
    flex: 0 0 auto;
    width: 100%;
    padding: 34px 24px 36px;
    border-radius: 14px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 1.4px;
  }

  h1 {
    max-width: 520px;
    font-size: calc(7px + 5vw);
    letter-spacing: -0.7px;
  }

  .intro {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.6;
  }

  .contact-list {
    margin-top: 28px;
  }

  .contact-icon {
    flex-basis: 48px;
    width: 48px;
    height: 52px;
    margin-right: 14px;
    border-radius: 10px;
  }

  .contact-value {
    font-size: 16px;
  }

  .hero-media {
    flex: 0 0 auto;
    width: 100%;
    height: 400px;
    min-height: 0;
    margin: 20px 0 0;
    border-radius: 14px;
  }

  .hero-photo {
    -o-object-position: 50% 47%;
       object-position: 50% 47%;
  }

  .footer-inner {
    padding: 21px 0;
  }

  .footer-accent {
    width: 42px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
}

@media (max-width: 374px) {
  .hero-copy {
    padding: 30px 20px 32px;
  }

  h1 {
    font-size: 22px;
    letter-spacing: -0.6px;
  }

  .intro {
    font-size: 16px;
  }

  .contact-icon {
    flex-basis: 40px;
    width: 40px;
    height: 46px;
    margin-right: 10px;
  }

  .contact-icon img {
    width: 24px;
    height: 24px;
  }

  .contact-value {
    font-size: 17px;
  }

  .hero-media {
    height: 340px;
  }
}

/* Czytelny wydruk bez dużego zdjęcia. */
@media print {
  body,
  .main-content,
  .hero {
    display: block;
    min-height: 0;
  }

  .main-content {
    width: 100%;
  }

  .hero-copy {
    width: 100%;
    padding: 28px 0;
  }

  .hero-media,
  .skip-link,
  .footer-accent {
    display: none;
  }

  h1 {
    font-size: 36px;
  }
}
