/* Nordic Nurture — arkusz stylów
   Koncepcja: zimna strona (powietrze na zewnątrz) i ciepła strona (dom).
   Petrol = chłód, miedź = ciepło wytworzone. Jeden akcent, reszta cicha. */

:root {
  --petrol: #10242e;
  --petrol-700: #1b3a48;
  --frost: #e4edf1;
  --frost-line: #c7d8df;
  --paper: #fbfaf8;
  --copper: #a84d24;
  --amber: #e09a3e;
  --text: #1a2a31;
  --text-soft: #4d6470;

  --measure: 68ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  font-optical-sizing: auto;
}

h1, h2, h3, h4, .sans, nav, button, .btn, th {
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -0.01em; }
p { margin: 0 0 1.15em; max-width: var(--measure); }
a { color: var(--copper); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
img, svg { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* --- nawigacja --- */
.top {
  background: var(--petrol);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--petrol-700);
}
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; flex-wrap: wrap; }
.brand {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand span { display: block; }
.brand small {
  display: block;
  font-family: "Source Serif 4", serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: #9db6c0;
  line-height: 1.3;
}
.top nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.9rem; font-weight: 500; }
.top nav a { color: #d6e3e8; text-decoration: none; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--amber); }
.tel {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--copper);
  padding: 0.5rem 0.95rem;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.tel:hover { background: #8e3f1d; color: #fff; }

/* --- hero --- */
.hero { background: var(--petrol); color: #fff; padding: calc(var(--section-y) * 0.85) 0; }
.hero .wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { color: #fff; }
.hero p { color: #c6d8de; font-size: 1.15rem; max-width: 46ch; }
.hero .lead-sub { color: #9db6c0; font-size: 1rem; }

.transfer { width: 100%; }
.transfer .cold { fill: #7fb3c8; }
.transfer .warm { fill: var(--amber); }
.transfer .label { font-family: Archivo, sans-serif; font-weight: 600; font-size: 13px; fill: #9db6c0; letter-spacing: 0.01em; }
.transfer .big { font-family: Archivo, sans-serif; font-weight: 700; font-size: 44px; }
.transfer .unit { font-size: 22px; }
.transfer .box { fill: none; stroke: #2d5465; stroke-width: 1.5; }
.transfer .flow { stroke: var(--amber); stroke-width: 2; fill: none; stroke-dasharray: 7 6; }
@media (prefers-reduced-motion: no-preference) {
  .transfer .flow { stroke-dashoffset: 260; animation: draw 1.6s ease-out 0.25s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; align-items: center; }
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.8rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--petrol); }
.btn-primary:hover { background: #f0ad50; color: var(--petrol); }
.btn-ghost { border-color: #456b7b; color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* --- pasek zaufania --- */
.proof { border-bottom: 1px solid var(--frost-line); background: var(--frost); }
.proof .wrap { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 760px) { .proof .wrap { grid-template-columns: repeat(3, 1fr); } }
.proof div { padding: 1.4rem var(--gutter) 1.4rem 0; border-bottom: 1px solid var(--frost-line); }
@media (min-width: 760px) {
  .proof div { border-bottom: 0; border-right: 1px solid var(--frost-line); padding-left: 1.4rem; }
  .proof div:first-child { padding-left: 0; }
  .proof div:last-child { border-right: 0; }
}
.proof strong { display: block; font-family: Archivo, sans-serif; font-size: 1.5rem; line-height: 1.1; color: var(--petrol); }
.proof span { font-size: 0.95rem; color: var(--text-soft); }

/* --- sekcje --- */
section { padding: var(--section-y) 0; }
section + section { border-top: 1px solid var(--frost-line); }
.section-lead { font-size: 1.2rem; color: var(--text-soft); max-width: 60ch; }

.cols { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 820px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-2 { grid-template-columns: repeat(2, 1fr); } }
.cols > div > h3 { margin-bottom: 0.4em; }
.cols p { font-size: 1rem; }

.service { border-top: 3px solid var(--petrol); padding-top: 1.1rem; }
.service:nth-child(2) { border-top-color: var(--copper); }
.service:nth-child(3) { border-top-color: var(--amber); }
.service ul { padding-left: 1.1rem; margin: 0 0 1rem; font-size: 0.98rem; }
.service li { margin-bottom: 0.35rem; }

/* kroki — to naprawdę jest sekwencja, dlatego numery */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; max-width: 900px; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem; padding: 1.25rem 0; border-top: 1px solid var(--frost-line); }
ol.steps li::before {
  content: counter(s);
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--copper);
  border: 1.5px solid var(--frost-line);
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
}
ol.steps h3 { margin-bottom: 0.2em; }
ol.steps p { margin: 0; font-size: 1rem; }

/* obszar */
.area { columns: 2; column-gap: 2.5rem; max-width: 760px; list-style: none; padding: 0; font-size: 1rem; }
@media (min-width: 760px) { .area { columns: 3; } }
.area li { padding: 0.3rem 0; break-inside: avoid; border-bottom: 1px solid var(--frost-line); }

/* tabela */
table { border-collapse: collapse; width: 100%; max-width: 860px; font-size: 1rem; }
th, td { text-align: left; padding: 0.75rem 0.9rem 0.75rem 0; border-bottom: 1px solid var(--frost-line); vertical-align: top; }
th { font-weight: 700; font-size: 0.92rem; color: var(--petrol); }

/* faq */
details { border-bottom: 1px solid var(--frost-line); padding: 1rem 0; max-width: 820px; }
summary { font-family: Archivo, sans-serif; font-weight: 600; font-size: 1.08rem; cursor: pointer; color: var(--petrol); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 700; color: var(--copper); }
details[open] summary::after { content: "–"; }
details p { margin: 0.9rem 0 0.2rem; }

/* realizacja */
.case { border-left: 3px solid var(--frost-line); padding-left: 1.4rem; margin-bottom: 2.25rem; max-width: 760px; }
.case h3 { margin-bottom: 0.3em; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; margin: 0 0 0.9rem; font-size: 0.97rem; }
.case dt { font-family: Archivo, sans-serif; font-weight: 600; font-size: 0.86rem; color: var(--text-soft); padding-top: 0.15rem; }
.case dd { margin: 0; }
.photo-slot {
  border: 1.5px dashed var(--frost-line);
  background: var(--frost);
  color: var(--text-soft);
  padding: 2.5rem 1.25rem;
  text-align: center;
  font-family: Archivo, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* luki do uzupełnienia przez Jakuba */
.todo {
  background: #fff3d6;
  border-bottom: 2px solid var(--amber);
  padding: 0 0.2rem;
  font-family: Archivo, sans-serif;
  font-size: 0.93em;
  font-weight: 600;
  color: #6b4a12;
}

/* kontakt */
.contact-band { background: var(--petrol); color: #fff; }
.contact-band h2 { color: #fff; }
.contact-band p { color: #c6d8de; }
.contact-band a { color: var(--amber); }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.big-tel { font-family: Archivo, sans-serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); color: #fff; text-decoration: none; display: inline-block; letter-spacing: -0.02em; }
.big-tel:hover { color: var(--amber); }

footer.site { background: #0a1a21; color: #8ca6b1; padding: 3rem 0 2.5rem; font-size: 0.95rem; }
footer.site a { color: #c6d8de; }
footer.site .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { footer.site .wrap { grid-template-columns: repeat(3, 1fr); } }
footer.site h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.7em; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 0.35rem; }
.fine { border-top: 1px solid #1b3a48; margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: #6d8792; }
