/* Office client feedback, December 2026. Preserve the approved shared template. */
/* Equal card gutters: the email meets the full-width rules and arrow.
   Contacts retain their readable stacked layout when the row is too narrow. */
.home .hbc .agent-contacts,.knb-agent-card .agent-contacts{justify-content:space-between}
.home .hbc .agent-enquiry>span,.knb-agent-card .agent-enquiry>span{flex-shrink:0}
/* Account for the arrow's empty SVG right inset (including its round stroke). */
.home .hbc .agent-enquiry .knb-arrow,.knb-agent-card .agent-enquiry .knb-arrow{transform:translateX(13.125%)}
/* Small screens use normal content flow, not a compressed desktop scene.
   Keep the title readable when the photograph falls behind it. */
@media(max-width:1200px){
 .home .h4b{display:block;height:auto;overflow:visible}
 .home .hbg{width:100%;max-width:none;min-height:0;height:auto;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;padding:0}
 .home .hbt{grid-row:1;grid-column:1;width:100%;max-width:none;min-height:calc(var(--knb-header-height) + 320px);display:grid;place-items:center;margin:0;padding:calc(var(--knb-header-height) + 72px) 24px 72px;container-type:normal;text-align:center}
 .home .h4b h1{width:100%;max-width:700px;margin:0;font-size:clamp(32px,6vw,52px);line-height:1.15;text-wrap:initial;text-shadow:0 2px 8px rgba(0,0,0,.4)}
 .home .h4b h1 .l1{white-space:normal}
 .home .hero-scene{grid-row:1/2;grid-column:1/2;inset:0;width:auto;transform:none}
 .home .band{background-size:cover;background-position:58% 46%}
 .home .band:before{background:linear-gradient(180deg,rgba(8,16,24,.5),rgba(8,16,24,.62))}
 .home .hero-agent-below{padding:32px 24px 0;background:var(--alt)}
 .home .hero-agent-below .hbc{margin-inline:auto;max-width:420px}
 .home .hbc{width:100%;max-width:440px;justify-self:center;margin:0;padding:24px;gap:18px;background:#181916;border-width:1px}
 .home .hbc .agent{gap:16px}
 .home .hbc .pf{width:112px;height:138px}
 .home .agent-label{font-size:12px;margin-bottom:8px}
 .home .hbc .ai b{font-size:22px;line-height:1.2}
 .home .hbc .ai small{font-size:16px;line-height:1.55;margin-top:8px}
 .home .agent-contacts{font-size:16px;gap:8px 18px;padding-top:16px}
 .home .agent-contacts a{min-height:44px;gap:9px}
 .home .agent-contacts .contact-icon{width:19px;height:19px;flex-basis:19px}
 .home .agent-enquiry{font-size:16px;min-height:44px;padding-bottom:8px;gap:12px}
 .home .hbg .knb-arrow{width:24px;height:24px;flex-basis:24px}
 .home .hero-actions{position:relative;left:auto;bottom:auto;transform:none;width:100%;max-width:none;justify-self:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px max(24px,calc((100% - 680px)/2));background:#1d1e19}
 .home .hero-actions .btn{font-size:14px;line-height:1.5;min-height:52px;padding:12px 16px;gap:12px}
 .home .facts .c{width:calc(100% - 48px);max-width:1000px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
 .home .fi,.home .fi:first-child,.home .fi:nth-child(odd){flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:24px 20px;gap:12px;border-left:1px solid #393b31;border-top:0}
 .home .fi:first-child{border-left:0}
 .home .fi>div{width:100%;min-width:0}
 .home .fi i{width:28px;height:28px;flex-shrink:0}
 .home .fi b{font-size:15px;line-height:1.5}
 .home .fi span{font-size:14px;line-height:1.5;margin-top:3px}
}
@media(max-width:700px){
 .home .hbt{padding-inline:20px}
 .home .h4b h1{font-size:clamp(32px,8.5vw,40px)}
 .home .hbc{padding:20px;gap:16px}
 .home .hbc .pf{width:92px;height:114px}
 .home .hero-actions{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px max(20px,calc((100% - 440px)/2))}
 .home .hero-agent-below{padding:28px 20px 0}
 .home .facts .c{width:calc(100% - 40px);max-width:440px;grid-template-columns:1fr}
 .home .fi,.home .fi:first-child,.home .fi:nth-child(odd){padding:20px 0;gap:8px;border-left:0;border-top:1px solid #393b31}
 .home .fi:first-child{border-top:0}
}
@media(max-width:480px){
 .home .agent-contacts{flex-direction:column;align-items:flex-start;gap:0}
}
@media(max-width:360px){
 .home .hbc{padding:18px}
 .home .hbc .pf{width:84px;height:104px}
 .home .hbc .agent{gap:14px}
}
@media(max-width:1200px){
 /* Without JavaScript, the existing card and full navigation remain usable. */
 .home .hbg>.hbc{margin:24px auto}
 .hd:not(.has-mobile-menu)~main .hbt{min-height:320px;padding-top:72px}
}

/* Preserve the 1440 × 900 composition when it fits. On shorter desktops the
   photograph ends at the viewport bottom; benefits may follow below the fold.
   Heading, card and actions share one scale, limited by their vertical budget
   (660 scene units, or 480 below the measured header). Keep the original
   width-based side insets so the two columns never gather in the centre. */
@media(min-width:1201px){
 .home .h4b{
  --hero-width-unit:.069444444vw;
  --hero-scene-height:min(calc(810 * var(--hero-width-unit)),100svh);
  --hero-unit:min(var(--hero-width-unit),calc(var(--hero-scene-height) / 660),calc((var(--hero-scene-height) - var(--knb-header-height)) / 480));
  --hero-card-unit:calc(var(--hero-unit) * 1.033333333);
  display:grid;grid-template-rows:var(--hero-scene-height) calc(90 * var(--hero-width-unit));height:auto;overflow:hidden;
 }
 .home .hbg{
  width:100%;max-width:none;margin-inline:0;
  min-height:0;height:100%;align-items:start;
  grid-template-columns:minmax(0,1fr) calc(360 * var(--hero-card-unit));
  gap:calc(72 * var(--hero-unit));
  padding:max(calc(183 * var(--hero-unit)),calc(var(--knb-header-height) + 16 * var(--hero-unit))) calc(96 * var(--hero-width-unit)) calc(196 * var(--hero-unit));
 }
 /* Follow the photograph's 38% vertical focal point as the sky is cropped. */
 .home .hbt{margin-top:max(calc(48 * var(--hero-unit)),calc(112 * var(--hero-unit) - (810 * var(--hero-width-unit) - var(--hero-scene-height)) * .38))}
 .home .h4b h1{max-width:none;font-size:calc(68 * var(--hero-unit))}
 .home .hero-scene{inset:0;width:auto;transform:none}
 /* The accepted card/headline proportion stays constant at every desktop size. */
 .home .hbc{max-width:none;margin-top:calc(7 * var(--hero-unit));padding:calc(24 * var(--hero-card-unit));gap:calc(18 * var(--hero-card-unit));border-width:calc(1 * var(--hero-unit));border-radius:calc(3 * var(--hero-unit))}
 .home .hbc .agent{gap:calc(16 * var(--hero-card-unit))}
 .home .hbc .pf{width:calc(112 * var(--hero-card-unit));height:calc(138 * var(--hero-card-unit))}
 .home .agent-label{font-size:calc(11 * var(--hero-card-unit));margin-bottom:calc(8 * var(--hero-card-unit))}
 .home .hbc .ai b{font-size:calc(22 * var(--hero-card-unit))}
 .home .hbc .ai small{font-size:calc(13 * var(--hero-card-unit));margin-top:calc(8 * var(--hero-card-unit))}
 .home .agent-contacts{font-size:calc(14 * var(--hero-card-unit));gap:calc(8 * var(--hero-card-unit)) calc(18 * var(--hero-card-unit));padding-top:calc(16 * var(--hero-card-unit));border-top-width:calc(1 * var(--hero-unit))}
 .home .agent-contacts a{gap:calc(9 * var(--hero-card-unit));min-height:calc(32 * var(--hero-card-unit))}
 .home .agent-contacts .contact-icon{width:calc(19 * var(--hero-card-unit));height:calc(19 * var(--hero-card-unit));flex-basis:calc(19 * var(--hero-card-unit))}
 .home .agent-enquiry{font-size:calc(14 * var(--hero-card-unit));gap:calc(12 * var(--hero-card-unit));min-height:calc(44 * var(--hero-card-unit));padding-bottom:calc(8 * var(--hero-card-unit));border-bottom-width:calc(1 * var(--hero-unit))}
 .home .hbg .knb-arrow{width:calc(24 * var(--hero-unit));height:calc(24 * var(--hero-unit));flex-basis:calc(24 * var(--hero-unit))}
 .home .hbc .knb-arrow{width:calc(24 * var(--hero-card-unit));height:calc(24 * var(--hero-card-unit));flex-basis:calc(24 * var(--hero-card-unit))}
 .home .hero-actions{width:calc(760 * var(--hero-unit));gap:calc(20 * var(--hero-unit));bottom:calc(36 * var(--hero-unit))}
 .home .hero-actions .btn{font-size:calc(14.5 * var(--hero-unit));min-height:calc(52 * var(--hero-unit));padding:calc(12 * var(--hero-unit)) calc(20 * var(--hero-unit));gap:calc(12 * var(--hero-unit))}
 .home .facts{border-top-width:calc(1 * var(--hero-width-unit))}
 .home .facts .c{width:calc(1200 * var(--hero-width-unit));max-width:none;height:100%;min-height:0}
 .home .fi{padding:calc(22 * var(--hero-width-unit)) calc(28 * var(--hero-width-unit));gap:calc(18 * var(--hero-width-unit));border-left-width:calc(1 * var(--hero-width-unit))}
 .home .fi:first-child{padding-left:0;border-left:0}
 .home .fi i{width:calc(36 * var(--hero-width-unit));height:calc(36 * var(--hero-width-unit))}
 .home .fi svg{width:calc(28 * var(--hero-width-unit));height:calc(28 * var(--hero-width-unit))}
 .home .fi b{font-size:calc(15 * var(--hero-width-unit))}
 .home .fi span{font-size:calc(13 * var(--hero-width-unit));margin-top:calc(3 * var(--hero-width-unit))}
}

/* Bring the next section's actual content close to the benefits. The previous
   96px padding plus vertical centring appeared as an empty white panel. */
.home .a5 .h4b+section:is(#sprievodca-prenajmom,#o-nas){padding-top:40px}
.home .a5 .h4b+section>.c,.home .a5 .h4b+section .company-introduction{align-items:start}
.home .a5 .h4b+section h2{margin-top:0}

/* Match the normal header logo, independent of its compact scrolled state.
   Keep these widths aligned with header-refinement.css's normal breakpoints. */
footer .logo img{width:170px;height:auto;aspect-ratio:300/244;object-position:left center}
@media(max-width:1366px){footer .logo img{width:140px}}
@media(max-width:1200px){footer .logo img{width:120px}}
@media(max-width:940px){footer .logo img{width:110px}}
@media(max-width:800px){footer .logo img{width:100px}}
@media(max-width:700px){footer .logo img{width:90px}}

.guide-contract-extra:empty{display:none}
.guide-contract-media{margin-top:24px}

.a5 .sales-services-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.a5 .sales-services-five>div{padding:30px 22px;border-right:1px solid var(--line);border-bottom:0}
.a5 .sales-services-five>div:last-child{border-right:0}
.sales-steps-five{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px}
.sales-services-five h3:empty,.sales-services-five p:empty,
.sales-steps-five h3:empty,.sales-steps-five p:empty{display:none}
@media(min-width:701px) and (max-width:1100px){
 .a5 .sales-services-five,.sales-steps-five{grid-template-columns:repeat(6,minmax(0,1fr))}
 .a5 .sales-services-five>div,.sales-steps-five>div{grid-column:span 2}
 .a5 .sales-services-five>div:nth-child(n+4),.sales-steps-five>div:nth-child(n+4){grid-column:span 3}
 .a5 .sales-services-five>div:nth-child(-n+3){border-bottom:1px solid var(--line)}
 .a5 .sales-services-five>div:nth-child(3){border-right:0}
 .sales-steps-five{row-gap:52px}
}
@media(max-width:700px){
 .a5 .sales-services-five,.sales-steps-five{grid-template-columns:1fr}
 .a5 .sales-services-five>div{padding:30px 24px;border-right:0;border-bottom:1px solid var(--line)}
 .a5 .sales-services-five>div:last-child{border-bottom:0}
 .sales-steps-five{gap:44px}
}
.legal-content.privacy-policy{line-height:1.75}
.legal-content.privacy-policy h2{font-size:clamp(24px,3vw,30px);margin:40px 0 16px;line-height:1.3}
.legal-content.privacy-policy h3{margin:28px 0 12px}
.legal-content.privacy-policy p+p{margin-top:16px}
.legal-content.privacy-policy a{color:var(--acct);text-decoration:underline;overflow-wrap:anywhere}
