/* Black Harbor: układ, typografia i komponenty interfejsu */
:root {
  --bhs-ink: #101b27;
  --bhs-ink-soft: #223446;
  --bhs-sea: #136f72;
  --bhs-sea-dark: #0b5558;
  --bhs-copper: #c98750;
  --bhs-sand: #f4efe7;
  --bhs-mist: #edf3f3;
  --bhs-white: #ffffff;
  --bhs-muted: #5f6f7c;
  --bhs-border: #d6e0e1;
  --bhs-success: #1f6b4a;
  --bhs-error: #9d2d2d;
  --bhs-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bhs-radius-sm: 10px;
  --bhs-radius-md: 18px;
  --bhs-radius-lg: 28px;
  --bhs-shadow-soft: 0 14px 38px rgba(16, 27, 39, 0.09);
  --bhs-shadow-lift: 0 22px 50px rgba(16, 27, 39, 0.15);
  --bhs-header-height: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }

.bhs-page {
  min-width: 320px;
  padding-top: var(--bhs-header-height);
  color: var(--bhs-ink-soft);
  background: var(--bhs-white);
  font-family: var(--bhs-font);
  line-height: 1.65;
  overflow-x: hidden;
}

.bhs-page h1,
.bhs-page h2,
.bhs-page h3,
.bhs-page p { margin-top: 0; }

.bhs-page h1,
.bhs-page h2,
.bhs-page h3 {
  color: var(--bhs-ink);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.bhs-page h1 { font-size: clamp(2.55rem, 7vw, 5.2rem); margin-bottom: 1.4rem; }
.bhs-page h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 1rem; }
.bhs-page h3 { font-size: 1.28rem; margin-bottom: 0.7rem; }

.bhs-skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1200;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: var(--bhs-white);
  background: var(--bhs-ink);
  transform: translateY(-150%);
}
.bhs-skip-link:focus { transform: translateY(0); }

.bhs-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bhs-white) 94%, transparent);
  border-bottom: 1px solid rgba(16, 27, 39, 0.08);
  backdrop-filter: blur(16px);
}

.bhs-header--static { position: absolute; }

.bhs-header__inner {
  width: min(1240px, calc(100% - 32px));
  height: var(--bhs-header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.bhs-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--bhs-ink);
  font-weight: 800;
  text-decoration: none;
}

.bhs-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px 5px 13px 5px;
  color: var(--bhs-white);
  background: linear-gradient(145deg, var(--bhs-sea), var(--bhs-ink));
  box-shadow: 0 8px 18px rgba(19, 111, 114, 0.24);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.bhs-brand__name { font-size: 1.1rem; letter-spacing: 0.02em; }

.bhs-desktop-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.bhs-desktop-nav a,
.bhs-mobile-nav a,
.bhs-footer-nav a,
.bhs-back-link {
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.bhs-desktop-nav a {
  color: var(--bhs-ink-soft);
  font-size: 0.93rem;
  font-weight: 700;
}
.bhs-desktop-nav a:hover,
.bhs-desktop-nav a:focus-visible { color: var(--bhs-sea); }

.bhs-menu-button {
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--bhs-border);
  border-radius: 14px;
  background: var(--bhs-white);
  cursor: pointer;
}
.bhs-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 9px;
  background: var(--bhs-ink);
  transition: transform 200ms ease, opacity 200ms ease;
}
.bhs-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bhs-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bhs-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bhs-mobile-nav {
  position: absolute;
  top: var(--bhs-header-height);
  left: 0;
  width: 100%;
  padding: 0.7rem 1rem 1rem;
  display: grid;
  background: var(--bhs-white);
  border-bottom: 1px solid var(--bhs-border);
  box-shadow: var(--bhs-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.bhs-mobile-nav.bhs-is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.bhs-mobile-nav a { padding: 0.85rem 1rem; border-radius: 10px; color: var(--bhs-ink); font-weight: 700; }
.bhs-mobile-nav a:hover,
.bhs-mobile-nav a:focus-visible { color: var(--bhs-sea-dark); background: var(--bhs-mist); }

.bhs-hero {
  width: min(1320px, calc(100% - 28px));
  margin: 1.25rem auto 0;
  padding: clamp(2rem, 5vw, 4.8rem);
  display: grid;
  align-items: center;
  gap: 2.3rem;
  border-radius: var(--bhs-radius-lg);
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 135, 80, 0.14), transparent 35%),
    linear-gradient(135deg, var(--bhs-sand), var(--bhs-mist));
  overflow: hidden;
}

.bhs-hero__copy { max-width: 680px; }
.bhs-eyebrow {
  margin-bottom: 0.7rem;
  color: var(--bhs-sea-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bhs-hero__lead { max-width: 650px; margin-bottom: 1.8rem; color: var(--bhs-muted); font-size: clamp(1.05rem, 2vw, 1.24rem); }

.bhs-action-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.7rem; }
.bhs-button {
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 13px 5px 13px 5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease, color 170ms ease;
}
.bhs-button:hover { transform: translateY(-2px); }
.bhs-button:focus-visible { outline: 3px solid rgba(201, 135, 80, 0.5); outline-offset: 3px; }
.bhs-button--solid { color: var(--bhs-white); background: var(--bhs-sea-dark); box-shadow: 0 10px 24px rgba(11, 85, 88, 0.22); }
.bhs-button--solid:hover { background: var(--bhs-ink); box-shadow: 0 14px 30px rgba(16, 27, 39, 0.22); }
.bhs-button--outline { color: var(--bhs-ink); background: rgba(255, 255, 255, 0.48); border-color: rgba(16, 27, 39, 0.25); }
.bhs-button--outline:hover { border-color: var(--bhs-sea); color: var(--bhs-sea-dark); }
.bhs-button--full { width: 100%; }

.bhs-hero__benefits { display: flex; flex-wrap: wrap; gap: 0.85rem 1.4rem; color: var(--bhs-ink-soft); font-size: 0.91rem; font-weight: 750; }
.bhs-hero__benefits span { display: inline-flex; align-items: center; gap: 0.55rem; }
.bhs-icon { width: 23px; height: 23px; fill: none; stroke: var(--bhs-copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bhs-hero__visual { margin: 0; position: relative; }
.bhs-hero__visual::before {
  content: "";
  position: absolute;
  inset: -12px 18% auto -12px;
  height: 42%;
  border-radius: 26px 8px;
  background: rgba(19, 111, 114, 0.13);
}
.bhs-hero__visual img { position: relative; width: 100%; border-radius: 22px 7px 22px 7px; box-shadow: var(--bhs-shadow-lift); }

.bhs-section { padding: clamp(4.2rem, 8vw, 7rem) max(18px, calc((100% - 1200px) / 2)); }
.bhs-section--mist { background: var(--bhs-mist); }
.bhs-section__head { max-width: 720px; margin: 0 auto clamp(2.2rem, 5vw, 3.7rem); text-align: center; }
.bhs-section__head > p:last-child { margin-bottom: 0; color: var(--bhs-muted); font-size: 1.05rem; }

.bhs-products { display: grid; gap: 1.35rem; }
.bhs-product-card {
  min-width: 0;
  border: 1px solid rgba(16, 27, 39, 0.08);
  border-radius: var(--bhs-radius-md) 7px var(--bhs-radius-md) 7px;
  background: var(--bhs-white);
  box-shadow: var(--bhs-shadow-soft);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.bhs-product-card:hover { transform: translateY(-5px); box-shadow: var(--bhs-shadow-lift); }
.bhs-product-card__media { position: relative; aspect-ratio: 1; background: #eef0ef; overflow: hidden; }
.bhs-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.bhs-product-card:hover img { transform: scale(1.035); }
.bhs-product-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--bhs-white);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bhs-product-card__badge--warm { background: #a65c2a; }
.bhs-product-card__badge--fresh { background: #267151; }
.bhs-product-card__badge--deep { background: #4f3d73; }
.bhs-product-card__body { padding: 1.25rem; }
.bhs-product-card__body p { min-height: 4.9em; color: var(--bhs-muted); font-size: 0.94rem; }
.bhs-price { display: block; margin: 1rem 0; color: var(--bhs-sea-dark); font-size: 1.3rem; }

.bhs-feature-grid,
.bhs-service-grid,
.bhs-review-grid { display: grid; gap: 1.25rem; }

.bhs-feature-card,
.bhs-service-card,
.bhs-review-card {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: var(--bhs-radius-md) 7px var(--bhs-radius-md) 7px;
  background: var(--bhs-white);
  border: 1px solid var(--bhs-border);
}
.bhs-feature-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 16px 5px;
  color: var(--bhs-white);
  background: linear-gradient(145deg, var(--bhs-sea), var(--bhs-ink));
  font-weight: 850;
}
.bhs-feature-card p,
.bhs-service-card p,
.bhs-review-card p { margin-bottom: 0; color: var(--bhs-muted); }

.bhs-sizing-layout { display: grid; gap: 2rem; align-items: start; }
.bhs-sizing-notes { display: grid; gap: 1rem; }
.bhs-sizing-notes article { padding: 1.4rem; border-left: 4px solid var(--bhs-copper); border-radius: 0 var(--bhs-radius-sm) var(--bhs-radius-sm) 0; background: rgba(255, 255, 255, 0.78); }
.bhs-sizing-notes p { margin-bottom: 0; color: var(--bhs-muted); }
.bhs-table-wrap { width: 100%; overflow-x: auto; border-radius: var(--bhs-radius-md) 7px; box-shadow: var(--bhs-shadow-soft); }
.bhs-size-table { width: 100%; min-width: 510px; border-collapse: collapse; background: var(--bhs-white); }
.bhs-size-table caption { padding: 1rem 1.2rem; color: var(--bhs-ink); background: #dfeaea; font-weight: 800; text-align: left; }
.bhs-size-table th,
.bhs-size-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--bhs-border); text-align: left; }
.bhs-size-table th { color: var(--bhs-white); background: var(--bhs-ink); }
.bhs-size-table tbody tr:hover { background: #f8fbfb; }

.bhs-service-card { text-align: center; box-shadow: var(--bhs-shadow-soft); }
.bhs-service-card__icon { width: 48px; height: 48px; margin: 0 auto 1.2rem; fill: none; stroke: var(--bhs-sea); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bhs-payment-list { margin-top: 1rem !important; color: var(--bhs-ink) !important; font-weight: 850; letter-spacing: 0.03em; }

.bhs-review-card { box-shadow: var(--bhs-shadow-soft); }
.bhs-review-card p { margin: 0.7rem 0 1.2rem; font-size: 1.02rem; font-style: italic; }
.bhs-review-card cite { color: var(--bhs-ink); font-style: normal; font-weight: 800; }
.bhs-stars { color: #bd7a2f; letter-spacing: 0.08em; }

.bhs-contact { background: linear-gradient(150deg, var(--bhs-sand), var(--bhs-white)); }
.bhs-contact-form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(1.4rem, 5vw, 2.6rem);
  border: 1px solid rgba(16, 27, 39, 0.09);
  border-radius: var(--bhs-radius-lg) 9px;
  background: var(--bhs-white);
  box-shadow: var(--bhs-shadow-lift);
}
.bhs-field-grid { display: grid; gap: 1rem; }
.bhs-field { margin-bottom: 1rem; }
.bhs-field label { display: block; margin-bottom: 0.4rem; color: var(--bhs-ink); font-weight: 800; }
.bhs-field label span { color: var(--bhs-muted); font-size: 0.85rem; font-weight: 600; }
.bhs-field input,
.bhs-field textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid #bfcdd0;
  border-radius: 11px 4px 11px 4px;
  color: var(--bhs-ink);
  background: #fbfdfd;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.bhs-field textarea { resize: vertical; min-height: 130px; }
.bhs-field input:focus,
.bhs-field textarea:focus { border-color: var(--bhs-sea); box-shadow: 0 0 0 4px rgba(19, 111, 114, 0.13); }
.bhs-field .bhs-field-error { border-color: var(--bhs-error); box-shadow: 0 0 0 3px rgba(157, 45, 45, 0.1); }
.bhs-consent { margin: 0.2rem 0 1.2rem; display: flex; align-items: flex-start; gap: 0.7rem; color: var(--bhs-muted); font-size: 0.92rem; }
.bhs-consent input { width: 18px; height: 18px; margin-top: 0.18rem; flex: 0 0 auto; accent-color: var(--bhs-sea-dark); }
.bhs-consent a { color: var(--bhs-sea-dark); font-weight: 800; }
.bhs-form-status { min-height: 1.6em; margin: 1rem 0 0; font-weight: 750; }
.bhs-form-status.bhs-status--error { color: var(--bhs-error); }
.bhs-form-status.bhs-status--success { color: var(--bhs-success); }

.bhs-footer { padding: 3.2rem max(18px, calc((100% - 1200px) / 2)) 1.2rem; color: #d9e3e5; background: var(--bhs-ink); }
.bhs-footer__grid { display: grid; gap: 2.5rem; }
.bhs-brand--footer { color: var(--bhs-white); }
.bhs-footer__tagline { max-width: 440px; margin: 1rem 0; color: #b9c7cb; }
.bhs-address { color: #b9c7cb; font-style: normal; }
.bhs-address p { margin-bottom: 0.35rem; }
.bhs-address a { color: var(--bhs-white); }
.bhs-footer-nav { display: grid; align-content: start; gap: 0.55rem; }
.bhs-footer-nav h2 { margin-bottom: 0.4rem; color: var(--bhs-white); font-size: 1.15rem; }
.bhs-footer-nav a { color: #c4d0d3; }
.bhs-footer-nav a:hover,
.bhs-footer-nav a:focus-visible { color: var(--bhs-copper); }
.bhs-footer__bottom { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #9fb0b5; font-size: 0.86rem; }
.bhs-footer__bottom p { margin-bottom: 0; }

.bhs-back-link { color: var(--bhs-sea-dark); font-weight: 800; }
.bhs-legal { width: min(900px, calc(100% - 34px)); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 0; }
.bhs-legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.bhs-legal__date { color: var(--bhs-muted); }
.bhs-legal__section { padding: 1.5rem 0 0; }
.bhs-legal__section h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.bhs-legal__section a { color: var(--bhs-sea-dark); font-weight: 750; }
.bhs-legal__section li { margin-bottom: 0.35rem; }

@media (min-width: 680px) {
  .bhs-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhs-feature-grid,
  .bhs-service-grid,
  .bhs-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bhs-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhs-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); }
}

@media (min-width: 840px) {
  .bhs-menu-button,
  .bhs-mobile-nav { display: none; }
  .bhs-desktop-nav { display: flex; }
  .bhs-hero { grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr); }
  .bhs-sizing-layout { grid-template-columns: minmax(250px, 0.7fr) minmax(480px, 1.3fr); }
}

@media (min-width: 1120px) {
  .bhs-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  :root { --bhs-header-height: 70px; }
  .bhs-header__inner { width: min(100% - 20px, 1240px); }
  .bhs-brand__name { font-size: 1rem; }
  .bhs-brand__mark { width: 38px; height: 38px; }
  .bhs-hero { width: calc(100% - 16px); padding: 1.5rem; border-radius: 22px 7px; }
  .bhs-action-row { display: grid; }
  .bhs-button { width: 100%; }
  .bhs-section { padding-inline: 16px; }
  .bhs-footer { padding-inline: 18px; }
  .bhs-back-link { font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
