/* Zatwierdzony kierunek EL-HUB: wspólny granat, przekrój domu i prosta oferta. */
:root {
  --navy: #071d2d;
  --navy-light: #102b3d;
  --gold: #f3c446;
  --cream: #f6f5f1;
  --muted: #bbc7d1;
  --border: #a8b9c545;
}
body { background: var(--navy); }
.page-start .header { min-height: 106px; }
.page-start .wrap { width: min(1480px, calc(100% - 70px)); }
.page-start .contact-strip { background: transparent; }
@media (min-width: 901px) {
.page-start .service-card-link { min-height: 128px; padding-block: 24px; }
.page-start .contact-panel { padding: 28px 32px; }
.page-start .contact-panel-actions { gap: 12px; }
.page-start .contact-panel .button { font-size: 16px; padding: 14px 20px; }
.page-start .contact-panel-email { font-size: 18px; }
.page-start .footer { padding-top: 20px; padding-bottom: 19px; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(1280px, calc(100% - 80px)); }
h1, h2, h3 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
}
.header {
  min-height: 106px;
  position: relative;
  isolation: isolate;
  z-index: 3;
  padding-block: 12px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.brand-lockup { gap: 26px; flex-direction: row; align-items: center; min-width: 0; }
.brand { width: 216px; flex: 0 0 216px; height: auto; }
.logo-crop { width: 216px; height: auto; aspect-ratio: 718 / 324; }
.logo-crop img { width: 216px; height: auto; }
.brand-signature {
  display: block;
  padding-left: 25px;
  border-left: 1px solid #f3c44677;
  color: #f7f7f2;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  max-width: 27ch;
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand-signature .brand-degree { display: block; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1.6; }
.brand-signature .brand-owner { display: block; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.35; }
.menu-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: -1; pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 1; opacity: .75; }
.menu-trace circle { fill: #052034; }
.header nav > a.is-circuit-active::after { transform: scaleX(1); }
.header nav > a.is-circuit-active:not(.nav-contact) { color: #fff; }
.header nav { gap: 4px; padding: 5px 0; border: 0; background: transparent; }
.header nav > a { padding: 13px 17px; color: #f4f7f8; font-size: 18px; font-weight: 650; }
.header nav > a:hover, .header nav > a[aria-current] { background: transparent; color: #ffda70; }
.header nav > a::after { bottom: 7px; left: 17px; right: 17px; }
.header nav .nav-contact { margin-left: 5px; padding: 13px 20px; background: var(--gold); color: #071d2d; border: 0; }
.header nav .nav-contact span { display: inline; margin-left: 13px; font-size: 18px; }
.header nav .nav-contact:hover, .header nav .nav-contact[aria-current] { background: #ffda70; color: #071d2d; }
.header nav .nav-contact::after { display: none; }
.header nav > a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.button { background: var(--gold); border-radius: 0; font-weight: 600; padding: 16px 24px; gap: 38px; }
.page-start .hero {
  display: block;
  position: relative;
  min-height: clamp(600px, 50vw, 740px);
  padding-top: clamp(54px, 5vw, 88px);
  padding-bottom: 62px;
  isolation: isolate;
}
.page-start .hero-copy { position: relative; z-index: 1; width: 49%; max-width: none; }
.page-start .hero h1 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(50px, 5.6vw, 82px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.055em;
  margin-bottom: 34px;
  max-width: none;
  overflow-wrap: anywhere;
}
.hero-line { display: block; }
.hero-dot { color: var(--gold); font-weight: inherit; }
.page-start .hero .lead { max-width: 370px; font-size: 24px; line-height: 1.5; margin-bottom: 36px; color: #d0d7de; }
.page-start .hero-actions { display: block; }
.page-start .hero-actions .button { font-size: 20px; padding: 17px 25px; }
.hero-art { position: absolute; right: -26px; top: 22px; width: 77%; z-index: 0; pointer-events: none; }
.hero-art picture, .hero-art img { display: block; width: 100%; height: auto; }
.page-start .services-section { padding: 12px 0 24px; background: transparent; color: #f7f7f2; }
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 60px; border: 0; }
.service { position: relative; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--border); box-shadow: none; padding: 0; scroll-margin-top: 28px; }
.service:nth-last-child(-n+2) { border-bottom: 0; }
.service:hover, .service:focus-within { background: transparent; box-shadow: none; border-color: var(--border); }
.service:target { background: transparent; outline-offset: 5px; }
.service-card-link { display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px; gap: 24px; align-items: start; padding: 28px 0; min-height: 138px; height: 100%; }
.service-icon { color: inherit; width: 64px; padding-top: 1px; }
.service-icon svg { width: 60px; height: 60px; }
.service-copy { min-width: 0; }
.service h3 { font-size: 23px; line-height: 1.35; font-weight: 700; letter-spacing: -.035em; margin: 0 0 6px; color: inherit; }
.service p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.service-link { color: var(--gold); font-size: 31px; line-height: 1.1; padding-top: 1px; transition: transform .18s ease; }
.service-card-link:hover .service-link { transform: translateX(5px); }
.service-card-link:hover h3 { color: var(--gold); }
.light .service { --border: #14223833; }
.light .service p { color: #52647a; }
.light .service-link, .light .service-card-link:hover h3, .light .service-icon { color: #856216; }
.contact-strip { background: var(--navy); padding: 24px 0 0; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 38px; background: var(--cream); color: var(--ink); border: 0; padding: 34px 40px; --focus-ring: #77560d; }
.contact-panel h2 { color: var(--ink); font-size: 29px; line-height: 1.3; margin-bottom: 9px; letter-spacing: -.045em; }
.contact-panel p { margin: 0; color: #52647a; font-size: 16px; }
.contact-panel-actions { display: flex; flex-direction: column; gap: 16px; align-items: stretch; min-width: 0; }
.contact-panel .button { color: var(--navy); background: var(--gold); justify-content: space-between; font-size: 17px; }
.contact-panel .button:hover { background: #ffda70; }
.contact-panel-email { display: block; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.contact-panel-email > span { font-size: 12px; font-weight: 400; color: #52647a; display: block; margin-bottom: 2px; }
.contact-panel-email b { font-size: 18px; font-weight: 400; }
.contact-panel-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.page-start .footer-top { display: none; }
.footer { padding-top: 32px; padding-bottom: 28px; }
.site-credit { font-size: 12px; color: var(--muted); }
.site-credit a { text-decoration: underline; text-underline-offset: 3px; }
.page-start .footer .legal-links { margin-top: 0; }
.page-intro h1 { font-family: Manrope, Arial, sans-serif; font-weight: 700; }
.contact-intro h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.13; max-width: 950px; }
.contact-intro .lead { max-width: 650px; margin-bottom: 0; }
.contact-layout { align-items: start; }
.contact-details .big-email { font-size: clamp(23px, 2.4vw, 32px); }
.contact-form .form-heading h2 { font-size: 28px; }
/* Podstrony: ten sam pas marki, spokojna powierzchnia pod treść. */
.site-shell:not(.page-start) .electrical-backdrop { opacity: .45; }
.site-shell:not(.page-start) .wrap { width: min(1480px, calc(100% - 70px)); }
.site-shell:not(.page-start) .page-intro { padding-block: 52px 56px; }
.page-intro h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.13; letter-spacing: -.045em; }
.page-intro .lead { color: #c9d5df; font-size: 20px; line-height: 1.65; max-width: 720px; }
.page-kontakt main { background: transparent; color: #f7f7f2; }
.page-kontakt main > .section { padding-top: 52px; }
.site-shell:not(.page-start) .section { padding-block: 56px; }
.site-shell:not(.page-start) .contact-strip { background: transparent; }
.light { --focus-ring: #795b12; }
.light .prose, .light .about-identity > p:not(.eyebrow) { color: #52647a; }
.light .area-note p, .light .experience-intro { color: #52647a; }
.empty-state { border: 1px solid #cbd2d7; border-left: 3px solid #a17c25; background: #fff; }
.empty-state h2 { font-size: clamp(23px, 2.5vw, 30px); line-height: 1.4; }
.contact-fields input, .contact-fields textarea, .contact-fields select { border-radius: 0; }
.footer-brand img { filter: url(#logo-ink); }
.page-error .lead { margin-bottom: 28px; }
.page-error { min-height: 100svh; }
.page-recovery .recovery-form { max-width: 860px; }
@media (max-width: 1100px) {
  .brand-lockup { gap: 18px; }
  .brand, .logo-crop { width: 180px; }
  .brand { flex-basis: 180px; }
  .logo-crop { height: auto; }
  .logo-crop img { width: 180px; }
  .brand-signature { font-size: 13px; padding-left: 18px; }
  .brand-signature .brand-degree { font-size: 12px; }
  .brand-signature .brand-owner { font-size: 20px; }
  .header nav { gap: 2px; }
  .header nav > a { font-size: 17px; padding: 13px 14px; }
  .header nav .nav-contact { padding: 13px 16px; }
  .page-start .hero .lead { font-size: 21px; max-width: 310px; }
  .services { gap: 0 36px; }
  .service-card-link { grid-template-columns: 48px minmax(0, 1fr) 23px; gap: 18px; }
  .service-icon { width: 48px; }
  .service-icon svg { width: 46px; height: 46px; }
  .service h3 { font-size: 20px; }
  .service p { font-size: 16px; }
}
@media (max-width: 900px) {
  .site-shell:not(.page-start) .wrap { width: calc(100% - 48px); }
  .wrap, .page-start .wrap { width: calc(100% - 48px); }
  .menu-trace { display: none; }
  .header { min-height: 104px; }
  .brand-signature { font-size: 12px; }
  .header nav { gap: 6px; left: -24px; right: -24px; padding: 18px 24px; background: #062236; border: 1px solid #8caabc66; }
  .header nav .nav-contact { margin: 8px 0 0; }
  .menu-toggle { font-size: 15px; min-height: 46px; border-color: #f3c44699; background: #0b3145; }
  .header nav > a, .header nav .nav-contact { padding: 13px 16px; font-size: 17px; }
  .header nav > a:hover, .header nav > a[aria-current] { background: #10354b; }
  .header nav .nav-contact span { display: inline; }
  .page-start .hero { min-height: 565px; padding-top: 42px; }
  .page-start .hero-copy { width: 58%; }
  .page-start .hero h1 { font-size: clamp(44px, 6.8vw, 61px); }
  .page-start .hero .lead { font-size: 19px; max-width: 280px; }
  .page-start .hero-actions .button { font-size: 17px; padding: 15px 20px; gap: 25px; }
  .hero-art { width: 78%; right: -18px; top: 110px; }
  .services { gap: 0 28px; }
  .service-card-link { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 13px; padding: 24px 0; }
  .service-icon, .service-icon svg { width: 38px; height: 38px; }
  .service h3 { font-size: 18px; }
  .service p { font-size: 15px; }
  .contact-panel { gap: 26px; padding: 28px; }
  .contact-panel h2 { font-size: 25px; }
  .contact-panel .button { gap: 20px; font-size: 15px; padding: 14px 16px; }
  .contact-panel-email { font-size: 18px; }
}
@media (max-width: 620px) {
  .site-shell:not(.page-start) .wrap { width: calc(100% - 36px); }
  .site-shell:not(.page-start) .page-intro { padding-block: 34px 36px; }
  .site-shell:not(.page-start) .section { padding-block: 36px; }
  .page-intro .lead { font-size: 18px; }
  .wrap, .page-start .wrap { width: calc(100% - 36px); }
  .header { min-height: 96px; gap: 12px; }
  .brand-lockup { gap: 13px; }
  .brand, .logo-crop { width: 133px; }
  .brand { flex-basis: 133px; }
  .logo-crop { height: auto; }
  .header nav { left: -18px; right: -18px; }
  .logo-crop img { width: 133px; }
  .brand-signature { padding-left: 12px; font-size: 10px; white-space: normal; line-height: 1.5; }
  .brand-signature .brand-degree { font-size: 11px; }
  .brand-signature .brand-owner { font-size: 15px; }
  .menu-toggle { font-size: 14px; padding: 10px; min-width: 56px; white-space: nowrap; }
  .menu-toggle span { display: none; }
  .page-start .hero { padding: 38px 0 0; min-height: 0; }
  .page-start .hero-copy { width: 100%; }
  .page-start .hero h1 { font-size: clamp(38px, 10vw, 59px); line-height: 1.15; margin-bottom: 22px; }
  .page-start .hero .lead { font-size: 18px; max-width: 29ch; margin-bottom: 25px; }
  .hero-art { position: relative; width: calc(100% + 20px); max-width: none; right: auto; top: auto; margin: 14px -10px 0; }
  .page-start .services-section { padding-top: 16px; padding-bottom: 6px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .service:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service:last-child { border-bottom: 0; }
  .service-card-link { min-height: 108px; grid-template-columns: 44px minmax(0, 1fr) 22px; gap: 17px; padding: 23px 0; }
  .service-icon, .service-icon svg { width: 42px; height: 42px; }
  .service h3 { font-size: 19px; margin-bottom: 6px; }
  .service p { font-size: 15px; }
  .contact-strip { padding-top: 22px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 25px 22px; }
  .contact-panel h2 { font-size: 26px; }
  .contact-panel p { font-size: 15px; line-height: 1.6; }
  .contact-panel .button { padding: 15px 18px; font-size: 16px; min-height: 52px; }
  .contact-panel-email { font-size: 20px; min-height: 57px; }
  .contact-panel-email > span { font-size: 12px; }
  .footer { padding-top: 28px; }
  .contact-intro { padding-top: 38px; }
  .contact-intro h1 { font-size: clamp(35px, 9vw, 50px); }
}
@media (max-width: 360px) {
  .brand-signature { border-left: 0; padding-left: 0; font-size: 9px; }
  .brand-signature .brand-degree { font-size: 10px; }
  .brand-signature .brand-owner { font-size: 12px; }
  .brand-lockup { gap: 8px; }
  .brand, .logo-crop { width: 122px; }
  .brand { flex-basis: 122px; }
  .logo-crop img { width: 122px; }
  .page-start .hero h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-link, .electrical-backdrop::after, .header nav > a { transition: none; }
}

/* Własne nagłówki z wieloma wierszami mają oddzielne miejsce obok ilustracji. */
.page-start .hero.hero--long-title {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.38fr);
  align-items: start;
  gap: 24px;
  min-height: 0;
  padding-top: 34px;
  padding-bottom: 27px;
}
.page-start .hero--long-title .hero-copy { width: 100%; max-width: 440px; align-self: start; }
.page-start .hero--long-title h1 {
  font-size: clamp(40px, 3.8vw, 56px);
  line-height: 1.12;
  letter-spacing: -.045em;
  margin-bottom: 26px;
}
.page-start .hero--long-title .hero-line:first-child { margin-bottom: 24px; }
.page-start .hero--long-title .hero-line:not(:first-child) {
  color: #f7f7f2;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
  margin-top: 3px;
}
/* Główny nagłówek jest biały; kolejne usługi przeplatają kolor marki i biel. */
.page-start .hero--long-title .hero-line:nth-child(2n) { color: var(--gold); }
.page-start .hero--long-title .lead {
  max-width: 420px;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.page-start .hero--long-title .hero-art {
  position: static;
  width: 90%;
  max-width: 760px;
  margin: -24px 0 0;
  align-self: start;
  justify-self: end;
}
/* Pionowa proporcja pola ilustracji odpowiada zaakceptowanej planszy. */
.page-start .hero--long-title .hero-art picture { aspect-ratio: 1.215; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent); }
.page-start .hero--long-title .hero-art img { height: 100%; object-fit: cover; object-position: 60% center; }
.page-start .hero--long-title .lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; margin-bottom: 20px; }
.page-start .hero-actions .button { font-size: clamp(18px, 1.5vw, 20px); padding: 15px 23px; }
@media (min-width: 901px) {
  .page-start .services-section { padding-bottom: 16px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .page-start .hero.hero--long-title {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.38fr);
    gap: 20px;
  }
  .page-start .hero--long-title h1 { font-size: 40px; }
  .page-start .hero--long-title .hero-line:not(:first-child) { font-size: 21px; }
}
@media (max-width: 900px) {
  .page-start .hero.hero--long-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-top: 42px;
    padding-bottom: 38px;
  }
  .page-start .hero--long-title .lead { font-size: 18px; }
  .page-start .hero--long-title h1 { font-size: clamp(36px, 5.5vw, 48px); }
  .page-start .hero--long-title .hero-line:not(:first-child) { font-size: 25px; }
  .page-start .hero--long-title .hero-art { width: min(660px, 90%); max-width: 100%; margin: 0; justify-self: center; }
  .page-start .hero--long-title .hero-art picture { aspect-ratio: auto; }
  .page-start .hero--long-title .hero-art img { height: auto; }
}
@media (max-width: 620px) {
  .page-start .hero.hero--long-title { gap: 16px; padding-top: 34px; padding-bottom: 16px; }
  .page-start .hero--long-title h1 { font-size: clamp(33px, 9vw, 40px); margin-bottom: 22px; }
  .page-start .hero--long-title .hero-line:not(:first-child) { font-size: 21px; }
  .page-start .hero--long-title .lead { font-size: 18px; line-height: 1.6; margin-bottom: 25px; }
}

/* A separate, quiet entry to the private investment portal. */
.header #navigation .nav-client{padding:10px 14px;border:1px solid rgba(190,209,221,.4);color:#edf2f4;font-size:14px;white-space:nowrap}
.header #navigation .nav-client:hover,.header #navigation .nav-client[aria-current=page]{border-color:#f6c744;color:#f6c744}
@media(max-width:900px){.header #navigation .nav-client{font-size:17px;padding:14px;border-color:#49616f}}
/* Keep the expanded menu on one line just above the mobile breakpoint. */
.header #navigation > a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1150px) {
  .header { gap: 20px; }
  .header #navigation > a { font-size: 15px; padding: 13px 9px; }
  .header #navigation .nav-client { font-size: 13px; padding: 10px; }
  .header #navigation .nav-contact { padding: 13px 14px; }
}
