/* site.css - aisolar.pl page styles on top of base.css (offer, EU marks and project block, footer company data).
   No inline styles in the pages: every one-off rule lives here. */

/* helpers that replaced v12's inline style attributes */
.hero-copy {
  max-width: 720px;
}
section.band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.narrow-760 {
  max-width: 760px;
}
.narrow-700 {
  max-width: 700px;
}
.mt-48 {
  margin-top: 48px;
}
.mt-60 {
  margin-top: 60px;
}
.title-sm {
  font-size: 1.7rem;
}
.nowrap,
.nw {
  white-space: nowrap;
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.hp {
  display: none;
}
.form-status {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -4px;
  min-height: 1em;
}
.form-status.is-ok {
  color: var(--accent);
}
.form-status.is-err {
  color: #e57373;
}
.back {
  margin-top: 40px;
}
.hero {
  min-height: min(100vh, 960px);
}
.hero > .wrap {
  width: 100%;
}

/* EU marks on the home page: first screen, above the headline (handbook 2014-2020, 13.2) */
.eu-strip {
  display: inline-block;
  margin: 0 0 10px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}
.eu-strip img {
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
}
.eu-strip-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 30px;
}
.eu-strip-note a {
  color: var(--txt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eu-strip-note a:hover {
  color: var(--accent);
}

/* offer */
.offer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: start;
}
.offer-text {
  color: var(--txt);
  font-size: 1rem;
  max-width: 660px;
  margin-top: 16px;
}
.offer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.offer-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 22px;
  max-width: 660px;
}
.offer-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.offer-points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.offer-points li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.offer-points li:first-child {
  padding-top: 0;
}
.offer-points strong {
  display: block;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--txt);
}
.offer-points span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* EU-funded projects page */
.eu-body {
  max-width: 900px;
}
.eu-project {
  padding: 0;
}
.eu-marks {
  margin: 6px 0 40px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 12px;
}
.eu-marks img {
  display: block;
  width: 100%;
  height: auto;
}
.legal-page .eu-project h2 {
  font-size: 1.7rem;
  margin: 0 0 10px;
}
.legal-page .eu-funding {
  color: var(--txt);
  font-size: 1.02rem;
}
.eu-facts {
  display: grid;
  grid-template-columns: minmax(180px, 250px) 1fr;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}
.eu-facts dt,
.eu-facts dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.eu-facts dt {
  font-weight: 600;
  color: var(--muted);
  padding-right: 18px;
  font-size: 0.92rem;
}
.eu-facts dd {
  color: var(--txt);
  font-size: 0.98rem;
}
.eu-facts .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.eu-page .note {
  margin-top: 30px;
}

/* footer company data (KSH art. 206) */
.foot-company {
  font-style: normal;
}
.foot-company p {
  margin: 0;
}
.foot-company a {
  color: var(--muted);
}
.foot .links a[aria-current] {
  color: var(--txt);
}
.nav-links a[aria-current] {
  color: var(--txt);
}

/* 404 */
.hero-404 {
  min-height: 62vh;
  padding-top: 140px;
  padding-bottom: 80px;
}
.wrap-404 {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.wrap-404 .eyebrow {
  justify-content: center;
}
.wrap-404 .hero-cta {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
    margin: 0 14px;
  }
}
@media (max-width: 980px) {
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .nav-cta .btn-primary {
    display: none;
  }
}
@media (max-width: 560px) {
  .hero {
    padding-top: 110px;
  }
  .eu-strip {
    padding: 10px 12px;
  }
  .eu-strip img {
    width: 176px;
  }
  .eu-strip-note {
    margin-bottom: 24px;
  }
  .eu-marks {
    padding: 14px 12px;
  }
  .eu-marks img {
    width: 78%;
    margin: 0 auto;
  }
  .eu-facts {
    grid-template-columns: 1fr;
  }
  .eu-facts dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .eu-facts dd {
    padding-top: 2px;
  }
}

/* v13 final: service offer, report contents, how to order */
.offer-lead {
  color: var(--txt);
  font-size: 1.2rem;
}
.offer-cta {
  margin-top: 26px;
}
.offer-note {
  margin-top: 26px;
}
.offer-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.offer-visual img {
  display: block;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.report-split.mt-0 {
  margin-top: 0;
}
@media (min-width: 981px) {
  .flow.flow-4 {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 30px;
  }
}
@media (max-width: 980px) {
  .offer-visual img {
    margin-left: 0;
    max-width: 360px;
  }
}

/* v13 final: the home page card (one line, one note, contact) */
.card-about {
  padding: 56px 0;
}
.card-line {
  color: var(--txt);
  font-size: 1.12rem;
  margin: 0;
}
.card-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 18px 0 0;
}
.card-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fable review: header controls and buttons */
.lang-switch-head {
  position: static;
  top: auto;
  right: auto;
  flex-shrink: 0;
}
.nav-cta {
  gap: 14px;
}
.btn-primary {
  background: var(--accent);
}
@media (max-width: 980px) {
  .nav-links {
    background: var(--bg);
    backdrop-filter: blur(14px);
  }
}
