/* HydroInwest — główny arkusz stylów. Wartości przeniesione 1:1 z projektu. */

/* ---------- Fonty ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/Archivo-Variable.woff2') format('woff2'); }

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; background: #F5F3EF; color: #22262B; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: #185FA5; }
a:hover { color: #F26419; }
img { max-width: 100%; height: auto; }
input, textarea, select, button { font-family: inherit; }
.screen-reader-text, .hi-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; clip: auto; margin: 0; padding: 12px 18px; background: #F26419; color: #0C2340; font-weight: 800; border-radius: 4px; z-index: 200; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } }

.hi-container { max-width: 1280px; margin: 0 auto; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); }

/* ---------- Przyciski ---------- */
.hi-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; padding: 16px 26px; border-radius: 4px; border: 0; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; line-height: 1.2; }
.hi-btn--orange { background: #F26419; color: #0C2340; }
.hi-btn--orange:hover { background: #FF7A33; color: #0C2340; transform: translateY(-2px); }
.hi-btn--orange:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.hi-btn--outline { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.5); font-weight: 700; padding: 14px 26px; }
.hi-btn--outline:hover { border-color: #ffffff; background: rgba(255,255,255,0.1); color: #ffffff; }
.hi-btn--outline:focus-visible { outline: 3px solid rgba(242,100,25,0.8); outline-offset: 3px; }
.hi-btn--navy { background: #0C2340; color: #ffffff; }
.hi-btn--navy:hover { background: #185FA5; color: #ffffff; transform: translateY(-2px); }
.hi-btn--navy:focus-visible { outline: 3px solid #F26419; outline-offset: 3px; }
.hi-btn--lg { font-size: 18px; padding: 17px 28px; }
.hi-btn--lg.hi-btn--outline { padding: 15px 28px; }
.hi-btn--pill { border-radius: 999px; padding: 18px 32px; font-size: clamp(16px, 1.4vw, 19px); gap: 12px; box-shadow: 0 12px 32px rgba(242,100,25,0.35); }
.hi-btn--pill:hover { transform: translateY(-3px); }
.hi-btn--glass { border-radius: 999px; padding: 17px 30px; font-size: clamp(16px, 1.4vw, 19px); gap: 12px; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #ffffff; border: 1px solid rgba(255,255,255,0.4); font-weight: 700; }
.hi-btn--glass:hover { border-color: #ffffff; background: rgba(255,255,255,0.16); color: #ffffff; }
.hi-btn--glass:focus-visible { outline: 3px solid rgba(242,100,25,0.8); outline-offset: 3px; }
.hi-btn svg { flex-shrink: 0; }
.hi-link-underline { display: inline-flex; align-items: center; gap: 10px; color: #0C2340; text-decoration: none; font-weight: 800; font-size: 15.5px; border-bottom: 3px solid #F26419; padding-bottom: 3px; }
.hi-link-underline:hover { color: #F26419; }
.hi-link-underline:focus-visible { outline: 3px solid #F26419; outline-offset: 4px; }
.hi-link-underline--lg { font-size: 20px; padding-bottom: 4px; margin-top: 30px; }

/* ---------- Nagłówek ---------- */
.hi-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: #0C2340; box-shadow: 0 4px 20px rgba(12,35,64,0.25); transition: background .35s, box-shadow .35s; }
.hi-header--transparent:not(.is-scrolled) { background: linear-gradient(180deg, rgba(12,35,64,0.6), rgba(12,35,64,0)); box-shadow: none; }
.hi-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hi-logo { text-decoration: none; display: flex; align-items: center; }
.hi-logo img { display: block; height: 52px; width: auto; }
.hi-logo__text { color: #ffffff; font-weight: 900; font-size: 22px; letter-spacing: -0.01em; }
.hi-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); margin: 0; padding: 0; list-style: none; }
.hi-nav__item { position: relative; }
.hi-nav__link { display: inline-flex; align-items: center; gap: 8px; color: #E8EDF4; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; background: transparent; border: 0; cursor: pointer; }
.hi-nav__link:hover, .hi-nav__item.is-active > .hi-nav__link { color: #F26419; }
.hi-nav__link:focus-visible { outline: 3px solid rgba(242,100,25,0.6); outline-offset: 3px; border-radius: 2px; }
.hi-nav__chev { transition: transform .25s; }
.hi-nav__item.is-open > .hi-nav__link .hi-nav__chev, .hi-nav__item:hover > .hi-nav__link .hi-nav__chev { transform: rotate(180deg); }
.hi-dd { position: absolute; top: 100%; left: -24px; padding-top: 16px; z-index: 95; display: none; }
.hi-nav__item:hover > .hi-dd, .hi-nav__item.is-open > .hi-dd, .hi-nav__item:focus-within > .hi-dd { display: block; }
.hi-dd__panel { background: #ffffff; border-radius: 8px; box-shadow: 0 24px 60px rgba(12,35,64,0.28); padding: 18px; width: 620px; max-width: 84vw; }
.hi-dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; margin: 0; padding: 0; list-style: none; }
.hi-dd__link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px; text-decoration: none; color: #22262B; font-weight: 600; font-size: 14.5px; }
.hi-dd__link:hover { background: #F5F3EF; color: #F26419; }
.hi-dd__link:focus-visible { outline: 3px solid rgba(242,100,25,0.6); outline-offset: 1px; }
.hi-dash { color: #F26419; font-weight: 900; }
.hi-dd__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; background: #0C2340; color: #ffffff; text-decoration: none; font-weight: 800; font-size: 14px; padding: 12px; border-radius: 4px; }
.hi-dd__all:hover { background: #185FA5; color: #ffffff; }
.hi-dd__all:focus-visible { outline: 3px solid #F26419; outline-offset: 2px; }
.hi-nav__phone { display: inline-flex; align-items: center; gap: 9px; background: #F26419; color: #0C2340; text-decoration: none; font-weight: 800; font-size: 15px; padding: 12px 20px; border-radius: 4px; transition: transform .2s, background .2s; }
.hi-nav__phone:hover { background: #FF7A33; transform: translateY(-2px); color: #0C2340; }
.hi-nav__phone:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.hi-mobile-controls { display: none; align-items: center; gap: 10px; }
.hi-mobile-controls__call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #F26419; color: #0C2340; border-radius: 4px; }
.hi-mobile-controls__call:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.hi-burger { width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; color: #ffffff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.hi-burger span { display: block; width: 20px; height: 2px; background: currentColor; }
.hi-burger:focus-visible { outline: 3px solid rgba(242,100,25,0.7); outline-offset: 2px; }

.hi-mobile-menu { position: fixed; inset: 0; z-index: 100; background: #0C2340; display: none; flex-direction: column; padding: 24px; overflow-y: auto; }
.hi-mobile-menu.is-open { display: flex; }
.hi-mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.hi-mobile-menu__top img { display: block; height: 44px; width: auto; }
.hi-mobile-menu__close { width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; color: #ffffff; font-size: 22px; cursor: pointer; }
.hi-mobile-menu__close:focus-visible { outline: 3px solid rgba(242,100,25,0.7); }
.hi-mobile-nav { display: flex; flex-direction: column; margin: 40px 0 0; padding: 0; list-style: none; }
.hi-mobile-nav__link, .hi-mobile-nav__acc { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; font-weight: 800; font-size: 28px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); background: transparent; border-top: 0; border-left: 0; border-right: 0; width: 100%; text-align: left; cursor: pointer; }
.hi-mobile-nav__acc { justify-content: space-between; }
.hi-mobile-nav__acc > span { display: inline-flex; align-items: center; gap: 12px; }
.hi-mobile-nav__link:hover, .hi-mobile-nav__acc:hover, .hi-mobile-nav .is-active > .hi-mobile-nav__link { color: #F26419; }
.hi-mobile-nav__link:focus-visible, .hi-mobile-nav__acc:focus-visible { outline: 3px solid rgba(242,100,25,0.7); outline-offset: 2px; }
.hi-mobile-nav__acc svg:last-child { transition: transform .25s; }
.hi-mobile-nav__acc[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.hi-mobile-sub { display: none; flex-direction: column; padding: 6px 0 10px; margin: 0; list-style: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hi-mobile-sub.is-open { display: flex; }
.hi-mobile-sub__link { display: flex; align-items: center; gap: 10px; color: #B9C7D9; text-decoration: none; font-weight: 600; font-size: 17px; padding: 9px 0 9px 34px; }
.hi-mobile-sub__link:hover { color: #F26419; }
.hi-mobile-sub__all { color: #ffffff; font-weight: 800; }
.hi-mobile-menu__call { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; background: #F26419; color: #0C2340; text-decoration: none; font-weight: 800; font-size: 18px; padding: 18px; border-radius: 4px; }
.hi-sticky-call { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; align-items: center; justify-content: center; gap: 10px; background: #F26419; color: #0C2340; text-decoration: none; font-weight: 800; font-size: 17px; padding: 16px; border-radius: 6px; box-shadow: 0 12px 30px rgba(12,35,64,0.35); }
.hi-sticky-call:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
body.hi-menu-open { overflow: hidden; }
body.hi-menu-open .hi-sticky-call { display: none !important; }
@media (max-width: 920px) {
  .hi-nav { display: none; }
  .hi-mobile-controls { display: flex; }
  .hi-sticky-call.is-enabled { display: flex; }
  body.hi-has-sticky-call { padding-bottom: 86px; }
}

/* ---------- Hero strony głównej ---------- */
.hi-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: #0C2340; overflow: hidden; }
.hi-hero__video, .hi-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hi-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,38,0.85) 0%, rgba(7,20,38,0.45) 50%, rgba(7,20,38,0.2) 100%); }
.hi-hero__shade--bottom { background: linear-gradient(0deg, rgba(7,20,38,0.85) 0%, rgba(7,20,38,0) 40%); }
.hi-hero__inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 8vh, 90px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: end; animation: heroIn .9s ease-out both; }
.hi-hero__kicker { margin: 0 0 20px; color: #F26419; font-weight: 800; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.hi-hero__title { margin: 0; color: #ffffff; font-weight: 900; font-size: clamp(40px, 6.8vw, 88px); line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }
.hi-hero__title span { color: rgba(255,255,255,0.55); }
.hi-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hi-hero__side { display: flex; flex-direction: column; gap: 18px; border-left: 2px solid rgba(255,255,255,0.25); padding-left: clamp(18px, 2vw, 28px); }
.hi-hero__lead { margin: 0; color: rgba(255,255,255,0.85); font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.hi-metrics { display: flex; gap: clamp(20px, 3vw, 36px); }
.hi-metric__value { color: #ffffff; font-weight: 900; font-size: 30px; }
.hi-metric__label { color: rgba(255,255,255,0.6); font-size: 13.5px; }

/* ---------- Pasek zaufania ---------- */
.hi-trust { background: #0C2340; border-top: 1px solid rgba(255,255,255,0.08); }
.hi-trust__grid { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.hi-trust__item { display: flex; flex-direction: column; gap: 6px; border-left: 2px solid #F26419; padding-left: 18px; }
.hi-trust__icon { width: 42px; height: 42px; margin-bottom: 4px; }
.hi-trust__title { color: #ffffff; font-weight: 800; font-size: 18px; }
.hi-trust__desc { color: #9DB2CB; font-size: 14.5px; line-height: 1.5; }

/* ---------- Sekcje / typografia ---------- */
.hi-section { padding: clamp(64px, 9vw, 120px) 0; }
.hi-section--sm { padding: clamp(56px, 8vw, 96px) 0; }
.hi-section--navy { background: #0C2340; overflow: hidden; }
.hi-section--white { background: #ffffff; }
.hi-section--sand { background: #EDEAE3; }
.hi-eyebrow { margin: 0 0 12px; color: #185FA5; font-weight: 800; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; }
.hi-eyebrow--light { color: #4E9DE6; }
.hi-h2 { margin: 0; font-weight: 900; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -0.02em; color: #0C2340; max-width: 18ch; }
.hi-h2--md { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.06; max-width: 17ch; }
.hi-h2--feature { font-size: clamp(30px, 4vw, 50px); line-height: 1.06; max-width: 16ch; }
.hi-h2--sm { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.08; max-width: 22ch; }
.hi-h2--light { color: #ffffff; }
.hi-lead { margin: 0; color: #5A6270; font-size: 17px; line-height: 1.6; max-width: 42ch; text-wrap: pretty; }
.hi-lead--light { color: #B9C7D9; }
.hi-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.hi-section-head__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Karty ---------- */
.hi-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.hi-cards--wide { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.hi-cards--fill { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.hi-card { position: relative; display: flex; flex-direction: column; background: #ffffff; border-radius: 6px; overflow: hidden; text-decoration: none; box-shadow: 0 1px 3px rgba(12,35,64,0.08); transition: transform .25s, box-shadow .25s; color: inherit; }
.hi-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12,35,64,0.16); color: inherit; }
.hi-card:focus-visible { outline: 3px solid #F26419; outline-offset: 3px; }
.hi-card__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #E6ECF3; }
.hi-card__media--16-9 { aspect-ratio: 16/9; }
.hi-card__media--16-10 { aspect-ratio: 16/10; }
.hi-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hi-card:hover .hi-card__media img { transform: scale(1.04); }
.hi-card__num { position: absolute; top: 14px; left: 14px; background: #0C2340; color: #ffffff; font-weight: 800; font-size: 12.5px; letter-spacing: 1.5px; padding: 6px 10px; border-radius: 3px; }
.hi-card__num--orange { background: #F26419; color: #0C2340; text-transform: uppercase; }
.hi-card__body { display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 22px; }
.hi-card__body--col { flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.hi-card__icon { flex-shrink: 0; margin-top: 2px; }
.hi-card__text { display: flex; flex-direction: column; gap: 5px; }
.hi-card__title { color: #0C2340; font-weight: 800; font-size: 19px; line-height: 1.2; margin: 0; }
.hi-card__body--col .hi-card__title { font-size: 20px; }
.hi-card__title--lg { font-size: 21px !important; }
.hi-card__desc { color: #5A6270; font-size: 14.5px; line-height: 1.5; margin: 0; }
.hi-card__body--col .hi-card__desc { line-height: 1.55; flex: 1; }
.hi-card__more { color: #185FA5; font-weight: 700; font-size: 14px; margin-top: 4px; }
.hi-card__body--col .hi-card__more { margin-top: 6px; }
.hi-card__meta { color: #8A8F98; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }

/* ---------- Sekcje wyróżnione ---------- */
.hi-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hi-feature__media { position: relative; }
.hi-feature__media img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.hi-feature__tag { position: absolute; bottom: -18px; left: 24px; background: #F26419; color: #0C2340; font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 18px; border-radius: 4px; }
.hi-feature__lead { margin: 20px 0 0; color: #5A6270; font-size: 17px; line-height: 1.65; max-width: 52ch; text-wrap: pretty; }
.hi-feature__lead--light { color: #B9C7D9; }
.hi-feature__list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hi-feature__list li { display: flex; gap: 12px; color: #E8EDF4; font-size: 16px; font-weight: 500; }
.hi-feature .hi-btn { margin-top: 32px; }
.hi-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.hi-stat { display: flex; flex-direction: column; }
.hi-stat__value { color: #F26419; font-weight: 900; font-size: 34px; line-height: 1; }
.hi-stat__label { color: #5A6270; font-size: 14.5px; margin-top: 6px; }
.hi-order-2 { order: 2; } .hi-order-3 { order: 3; }

/* ---------- CTA + stopka ---------- */
.hi-cta { background: #0C2340; }
.hi-cta__inner { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.hi-cta__title { margin: 0; color: #ffffff; font-weight: 900; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -0.01em; max-width: 20ch; }
.hi-cta__lead { margin: 12px 0 0; color: #9DB2CB; font-size: 16.5px; max-width: 52ch; }
.hi-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hi-footer { background: #0C2340; border-top: 1px solid rgba(255,255,255,0.1); }
.hi-footer__inner { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hi-footer__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.hi-footer__brand img { display: block; height: 34px; width: auto; }
.hi-footer__tag { color: #7E93AD; font-weight: 500; font-size: 13.5px; }
.hi-footer__right { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hi-footer__links { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.hi-footer__links a { color: #9DB2CB; text-decoration: none; font-size: 14px; font-weight: 600; }
.hi-footer__links a:hover { color: #F26419; }
.hi-footer__copy { color: #7E93AD; font-size: 14px; }

/* ---------- Hero podstron ---------- */
.hi-subhero { background: #0C2340; padding: clamp(120px, 15vh, 160px) 0 clamp(48px, 7vw, 80px); }
.hi-subhero__inner { animation: heroIn .8s ease-out both; }
.hi-subhero--split { padding: clamp(120px, 16vh, 170px) 0 clamp(56px, 8vw, 96px); }
.hi-subhero--split .hi-subhero__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hi-subhero--flush { padding-bottom: 0; }
.hi-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; }
.hi-crumbs a { color: #9DB2CB; text-decoration: none; }
.hi-crumbs a:hover { color: #F26419; }
.hi-crumbs__sep { color: #4E9DE6; }
.hi-crumbs__current { color: #E8EDF4; }
.hi-kicker-bar { margin: 0 0 14px; display: inline-flex; color: #ffffff; font-weight: 700; font-size: 13.5px; letter-spacing: 2.5px; text-transform: uppercase; border-left: 3px solid #F26419; padding-left: 13px; }
.hi-subhero__title { margin: 0; color: #ffffff; font-weight: 900; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; text-wrap: balance; }
.hi-subhero--split .hi-subhero__title { font-size: clamp(34px, 4.8vw, 62px); max-width: 16ch; }
.hi-subhero__title--md { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; max-width: 15ch; }
.hi-subhero__lead { margin: 20px 0 0; color: #B9C7D9; font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.65; max-width: 58ch; text-wrap: pretty; }
.hi-subhero--split .hi-subhero__lead { max-width: 56ch; }
.hi-subhero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hi-subhero__img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.hi-subhero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 0; list-style: none; color: #9DB2CB; font-size: 14.5px; font-weight: 600; }
.hi-subhero__meta strong { color: #ffffff; font-weight: 700; }

/* ---------- Treść + boczny panel ---------- */
.hi-layout { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: flex-start; }
.hi-layout__main { flex: 1 1 560px; min-width: 0; max-width: 780px; }
.hi-layout__aside { flex: 1 1 300px; max-width: 400px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.hi-prose { color: #454B55; font-size: 17px; line-height: 1.75; }
.hi-prose > *:first-child { margin-top: 0; }
.hi-prose h2 { margin: 44px 0 16px; color: #0C2340; font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em; border-left: 4px solid #F26419; padding-left: 16px; }
.hi-prose h3 { margin: 30px 0 10px; color: #0C2340; font-weight: 800; font-size: clamp(19px, 1.9vw, 22px); line-height: 1.25; }
.hi-prose h4 { margin: 24px 0 8px; color: #0C2340; font-weight: 800; font-size: 18px; }
.hi-prose p { margin: 0 0 16px; text-wrap: pretty; }
.hi-prose ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hi-prose ul li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.6; }
.hi-prose ul li::before { content: "—"; color: #F26419; font-weight: 900; flex-shrink: 0; }
.hi-prose ol { margin: 0 0 18px; padding-left: 22px; }
.hi-prose ol li { margin-bottom: 8px; font-size: 16.5px; }
.hi-prose a { color: #185FA5; font-weight: 600; }
.hi-prose a:hover { color: #F26419; }
.hi-prose img, .hi-prose figure { max-width: 100%; height: auto; border-radius: 6px; }
.hi-prose figure { margin: 24px 0; }
.hi-prose figcaption { color: #8A8F98; font-size: 14px; margin-top: 8px; }
.hi-prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid #F26419; background: #ffffff; border-radius: 0 6px 6px 0; font-size: 18px; color: #0C2340; }
.hi-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15.5px; }
.hi-prose th, .hi-prose td { border: 1px solid #D8D4CC; padding: 10px 12px; text-align: left; }
.hi-prose th { background: #ffffff; color: #0C2340; }
.hi-prose .wp-block-image img { width: 100%; }
.hi-prose .alignwide, .hi-prose .alignfull { max-width: 100%; }
.hi-quote-box { background: #0C2340; border-radius: 8px; padding: 28px; }
.hi-quote-box__title { margin: 0; color: #ffffff; font-weight: 900; font-size: 22px; }
.hi-quote-box__lead { margin: 10px 0 0; color: #9DB2CB; font-size: 14.5px; line-height: 1.55; }
.hi-quote-box__phone { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: #ffffff; text-decoration: none; font-weight: 900; font-size: 24px; }
.hi-quote-box__phone:hover { color: #F26419; }
.hi-quote-box__phone:focus-visible { outline: 3px solid #F26419; outline-offset: 3px; }
.hi-quote-box__mail { display: block; margin-top: 10px; color: #9DB2CB; text-decoration: none; font-size: 15px; font-weight: 600; }
.hi-quote-box__mail:hover { color: #F26419; }
.hi-quote-box__btn { display: block; margin-top: 20px; background: #F26419; color: #0C2340; text-decoration: none; font-weight: 800; font-size: 15.5px; padding: 14px; border-radius: 4px; text-align: center; transition: background .2s; }
.hi-quote-box__btn:hover { background: #FF7A33; color: #0C2340; }
.hi-quote-box__btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.hi-aside-nav { background: #ffffff; border-radius: 8px; padding: 24px 24px 14px; box-shadow: 0 1px 3px rgba(12,35,64,0.08); }
.hi-aside-nav__title { margin: 0 0 12px; color: #0C2340; font-weight: 900; font-size: 17px; letter-spacing: 0.5px; text-transform: uppercase; }
.hi-aside-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hi-aside-nav li { border-top: 1px solid #EDEAE3; }
.hi-aside-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 2px; text-decoration: none; font-size: 15px; font-weight: 600; color: #22262B; }
.hi-aside-nav a:hover, .hi-aside-nav a[aria-current="page"] { color: #F26419; }
.hi-aside-nav a[aria-current="page"] { font-weight: 800; }
.hi-aside-nav a:focus-visible { outline: 3px solid rgba(242,100,25,0.6); outline-offset: 1px; }
.hi-aside-nav a span:last-child { color: #F26419; }

/* ---------- Galerie + lightbox ---------- */
.hi-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(12px, 1.5vw, 20px); margin: 0; padding: 0; list-style: none; }
.hi-gallery__item { display: block; width: 100%; border: none; padding: 0; margin: 0; background: #E6ECF3; border-radius: 6px; overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 3px rgba(12,35,64,0.1); transition: transform .25s, box-shadow .25s; }
.hi-gallery__item:hover { transform: scale(1.02); box-shadow: 0 14px 34px rgba(12,35,64,0.2); }
.hi-gallery__item:focus-visible { outline: 3px solid #F26419; outline-offset: 3px; }
.hi-gallery__item img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hi-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hi-masonry__item { position: relative; display: block; width: 100%; height: 100%; border: none; padding: 0; margin: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: #0C2340; text-decoration: none; text-align: left; }
.hi-masonry__item.is-tall { grid-row: span 2; }
.hi-masonry__item:hover { opacity: 0.92; }
.hi-masonry__item:focus-visible { outline: 3px solid #F26419; outline-offset: 3px; }
.hi-masonry__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hi-masonry__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; background: linear-gradient(transparent, rgba(12,35,64,0.85)); color: #ffffff; font-weight: 600; font-size: 13.5px; text-align: left; }
.hi-masonry__item.is-hidden { display: none; }
.hi-lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8,20,36,0.94); display: none; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 48px); }
.hi-lightbox.is-open { display: flex; }
.hi-lightbox__img { max-width: 100%; max-height: 82vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.hi-lightbox__caption { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #ffffff; font-weight: 600; font-size: 15px; white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis; }
.hi-lightbox__btn { position: absolute; width: 48px; height: 48px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; color: #ffffff; font-size: 20px; cursor: pointer; }
.hi-lightbox__btn:hover { background: #F26419; color: #0C2340; }
.hi-lightbox__btn:focus-visible { outline: 3px solid #F26419; }
.hi-lightbox__close { top: 18px; right: 18px; }
.hi-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.hi-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Filtr realizacji ---------- */
.hi-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(24px, 3vw, 36px); padding: 0; list-style: none; }
.hi-filter__btn { display: inline-flex; align-items: center; background: #ffffff; border: 1.5px solid #D8D4CC; color: #0C2340; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hi-filter__btn:hover { border-color: #0C2340; color: #0C2340; }
.hi-filter__btn.is-active { background: #0C2340; border-color: #0C2340; color: #ffffff; }
.hi-filter__btn:focus-visible { outline: 3px solid #F26419; outline-offset: 2px; }
.hi-empty { color: #5A6270; font-size: 17px; }

/* ---------- Kroki (wynajem) ---------- */
.hi-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.hi-step { display: flex; flex-direction: column; gap: 8px; border-left: 2px solid #F26419; padding-left: 18px; }
.hi-step__icon { width: 46px; height: 46px; }
.hi-step__num { color: #F26419; font-weight: 900; font-size: 15px; letter-spacing: 1px; }
.hi-step__title { color: #0C2340; font-weight: 800; font-size: 18px; }
.hi-step__desc { color: #5A6270; font-size: 14.5px; line-height: 1.55; }
.hi-h2--steps { margin-bottom: clamp(28px, 4vw, 44px); max-width: 22ch; }

/* ---------- O nas ---------- */
.hi-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hi-photo-grid img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }
.hi-photo-grid img:first-child { height: 100%; min-height: 220px; aspect-ratio: auto; grid-row: span 2; }
.hi-about-text h2 { margin: 0; color: #0C2340; font-weight: 900; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.02em; max-width: 17ch; }
.hi-about-text h3 { margin: 24px 0 0; color: #0C2340; font-weight: 800; font-size: 20px; }
.hi-about-text p { margin: 14px 0 0; color: #5A6270; font-size: 17px; line-height: 1.65; max-width: 54ch; text-wrap: pretty; }
.hi-about-text h2 + p { margin-top: 20px; }
.hi-about-text ul { margin: 14px 0 0; padding-left: 20px; color: #5A6270; font-size: 17px; line-height: 1.65; }
.hi-masonry__item > .hi-masonry__item { position: absolute; inset: 0; border-radius: 0; }

/* ---------- Kontakt ---------- */
.hi-contact { padding-bottom: clamp(64px, 9vw, 110px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(36px, 5vw, 72px); animation: heroIn .8s ease-out both; }
.hi-contact__lead { margin: 18px 0 0; color: #B9C7D9; font-size: 17px; line-height: 1.6; max-width: 46ch; text-wrap: pretty; }
.hi-contact__list { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.hi-contact__phone { display: flex; align-items: center; gap: 16px; color: #ffffff; text-decoration: none; font-weight: 900; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.5px; }
.hi-contact__phone:hover { color: #F26419; }
.hi-contact__phone:focus-visible, .hi-contact__mail:focus-visible { outline: 3px solid #F26419; outline-offset: 4px; }
.hi-contact__mail { color: #B9C7D9; text-decoration: none; font-size: 18px; font-weight: 600; }
.hi-contact__mail:hover { color: #F26419; }
.hi-contact__addr { font-style: normal; color: #B9C7D9; font-size: 16.5px; line-height: 1.6; }
.hi-contact__hours { margin: 0; color: #7E93AD; font-size: 14.5px; }
.hi-map { margin-top: 36px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.hi-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.hi-form { background: #ffffff; border-radius: 8px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; align-self: start; }
.hi-form__title { margin: 0; color: #0C2340; font-weight: 900; font-size: 24px; }
.hi-field { display: flex; flex-direction: column; gap: 7px; color: #22262B; font-weight: 700; font-size: 14.5px; }
.hi-field input, .hi-field select, .hi-field textarea { border: 1.5px solid #D8D4CC; border-radius: 4px; padding: 13px 14px; font-size: 16px; color: #22262B; background: #FBFAF8; width: 100%; }
.hi-field textarea { resize: vertical; min-height: 110px; }
.hi-field input:focus-visible, .hi-field select:focus-visible, .hi-field textarea:focus-visible { outline: 3px solid rgba(24,95,165,0.4); border-color: #185FA5; }
.hi-field--check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; font-size: 14px; color: #454B55; line-height: 1.5; }
.hi-field--check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: #F26419; }
.hi-form__submit { background: #F26419; color: #0C2340; border: none; border-radius: 4px; font-weight: 800; font-size: 17px; padding: 17px; cursor: pointer; transition: background .2s, transform .2s; }
.hi-form__submit:hover { background: #FF7A33; transform: translateY(-2px); }
.hi-form__submit:focus-visible { outline: 3px solid #0C2340; outline-offset: 2px; }
.hi-form__submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.hi-form__note { margin: 0; color: #8A8F98; font-size: 12.5px; line-height: 1.5; }
.hi-form__error { color: #B3261E; font-size: 13px; font-weight: 600; margin: 0; }
/* Contact Form 7 w karcie motywu */
.hi-form--cf7 .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.hi-form--cf7 .wpcf7-form p { margin: 0; }
.hi-form--cf7 .hi-field .wpcf7-form-control-wrap { display: block; width: 100%; }
.hi-form--cf7 .hi-field--check .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.hi-form--cf7 .hi-field--check .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; }
.hi-form--cf7 .wpcf7-not-valid-tip { color: #B3261E; font-size: 13px; font-weight: 600; margin-top: 4px; }
.hi-form--cf7 .wpcf7-response-output { margin: 0; padding: 14px 16px; border-radius: 4px; font-weight: 600; border: 1px solid #D8D4CC; }
.hi-form--cf7 .sent .wpcf7-response-output { background: #EAF4EA; border-color: #BFDCBF; color: #1E5E2E; }
.hi-form--cf7 .invalid .wpcf7-response-output, .hi-form--cf7 .failed .wpcf7-response-output, .hi-form--cf7 .spam .wpcf7-response-output { background: #FBEAEA; border-color: #E8B4B0; color: #8C1D18; }
.hi-form--cf7 .wpcf7-spinner { margin: 0 0 0 12px; }
.hi-alert { margin: 0; padding: 14px 16px; border-radius: 4px; font-weight: 600; }
.hi-alert--ok { background: #EAF4EA; border: 1px solid #BFDCBF; color: #1E5E2E; }
.hi-alert--err { background: #FBEAEA; border: 1px solid #EBBDBD; color: #8A1C1C; }
.hi-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Blog / archiwa / wyszukiwarka ---------- */
.hi-post-card__date { color: #8A8F98; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.hi-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }
.hi-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 4px; background: #ffffff; color: #0C2340; text-decoration: none; font-weight: 700; border: 1.5px solid #D8D4CC; }
.hi-pagination .page-numbers.current { background: #0C2340; color: #ffffff; border-color: #0C2340; }
.hi-pagination a.page-numbers:hover { border-color: #0C2340; }
.hi-single { max-width: 780px; margin: 0 auto; }
.hi-single__thumb { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.hi-post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid #D8D4CC; }
.hi-post-nav a { color: #0C2340; text-decoration: none; font-weight: 700; }
.hi-post-nav a:hover { color: #F26419; }
.hi-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hi-tags a { background: #ffffff; border: 1.5px solid #D8D4CC; color: #0C2340; text-decoration: none; font-weight: 600; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; }
.hi-search-form { display: flex; gap: 10px; max-width: 560px; margin-top: 28px; }
.hi-search-form input[type="search"] { flex: 1; border: 1.5px solid #D8D4CC; border-radius: 4px; padding: 13px 14px; font-size: 16px; background: #FBFAF8; }
.hi-search-form button { background: #0C2340; color: #ffffff; border: 0; border-radius: 4px; font-weight: 800; padding: 0 22px; cursor: pointer; }
.hi-search-form button:hover { background: #185FA5; }
.hi-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 0 0 36px; padding: 24px; background: #ffffff; border-radius: 8px; box-shadow: 0 1px 3px rgba(12,35,64,0.08); }
.hi-details div { display: flex; flex-direction: column; gap: 4px; }
.hi-details dt { color: #8A8F98; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hi-details dd { margin: 0; color: #0C2340; font-weight: 700; font-size: 16px; }
.hi-details dd a { color: #185FA5; text-decoration: none; }
.hi-details dd a:hover { color: #F26419; }
.hi-404 { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.hi-404__code { color: #F26419; font-weight: 900; font-size: clamp(80px, 16vw, 180px); line-height: 1; letter-spacing: -0.04em; }
.hi-comments { margin-top: clamp(40px, 6vw, 64px); }
.hi-comments .comment-list { list-style: none; margin: 0; padding: 0; }
.hi-comments .comment { background: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 14px; }
.hi-comments .comment-meta { color: #8A8F98; font-size: 13.5px; margin-bottom: 8px; }
.hi-comments .comment-form label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.hi-comments .comment-form input:not([type="checkbox"]):not([type="submit"]), .hi-comments .comment-form textarea { width: 100%; border: 1.5px solid #D8D4CC; border-radius: 4px; padding: 12px 14px; font-size: 16px; background: #FBFAF8; }
.hi-comments .comment-form .submit { background: #F26419; color: #0C2340; border: 0; border-radius: 4px; font-weight: 800; font-size: 16px; padding: 14px 24px; cursor: pointer; }

/* ---------- Animacja wejścia (tylko z JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease-out, transform .7s ease-out; }
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Admin bar ---------- */
body.admin-bar .hi-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hi-header { top: 46px; } }
