/* Home surfaces are scoped so that forms, dialogs and product terms retain their existing presentation. */
.poruchitel[data-screen="home"] {
  --glass-ink: #103e31;
  --glass-muted: #31564a;
  --glass-edge: inset 0 1px 1px #ffffffed, inset 1px 0 2px #ffffffaa, inset 0 -2px 3px #426e6129, inset -1px 0 1px #fff9, 0 6px 16px -7px #18483642;
  --glass-surface: linear-gradient(128deg, #fffffff0 0%, #ffffffa6 43%, #f2fff485 77%, #ffffffb0 100%);
  color: var(--glass-ink);
  background: linear-gradient(145deg,#fff8,#ffffff13 44%,#eff8ee22), url('/brand/home-liquid-jade.webp') center / cover no-repeat, #deeee2;
}
.poruchitel[data-screen="home"] .home-scroll,
.poruchitel[data-screen="home"] .home-content {
  background: transparent;
}
.poruchitel[data-screen="home"] :is(.brand-topbar, .home-hero, .service, .p-navigation, .p-toast) {
  background: var(--glass-surface);
  border: 1px solid #ffffffb0 !important;
  box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(7px) saturate(1.16);
  backdrop-filter: blur(7px) saturate(1.16);
}
.poruchitel[data-screen="home"] .brand-topbar {
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 12px;
  right: 12px;
  height: 54px;
  border-radius: 24px;
  padding-inline: clamp(8px, 3.2vw, 18px);
  background: linear-gradient(120deg,#fffc,#ffffffe5 55%,#edf9f1a6);
}
.poruchitel[data-screen="home"] .brand-topbar .header-contact {
  border-radius: 50%;
  background: linear-gradient(145deg,#fff8,#e7f6e959);
}
.poruchitel[data-screen="home"] .home-scroll {
  top: calc(67px + env(safe-area-inset-top, 0px)) !important;
}
.poruchitel[data-screen="home"] .home-content {
  padding: clamp(12px,2.1vh,23px) clamp(14px,4.4vw,24px) calc(99px + env(safe-area-inset-bottom,0px));
}
.poruchitel[data-screen="home"] .home-hero {
  padding: clamp(13px,2.7vh,24px) clamp(16px,5.3vw,27px) clamp(16px,2.8vh,25px);
  border-radius: 29px;
  background: linear-gradient(115deg,#ffffffe5 0%,#ffffffae 48%,#edfff430 80%,#e8fff03b);
  -webkit-backdrop-filter: blur(2px) saturate(1.12);
  backdrop-filter: blur(2px) saturate(1.12);
}
.poruchitel[data-screen="home"] .region {color: #224438;}
.poruchitel[data-screen="home"] .home-hero h1 {
  color: #064735;
  font-size: clamp(28px,8vw,39px);
  line-height: 1.055;
  letter-spacing: -.045em;
  margin: 10px 0 clamp(15px,2.5vh,23px);
}
.poruchitel[data-screen="home"] .home-hero .hero-button {
  min-height: 49px;
  border-radius: 18px !important;
  border: 1px solid #d3f5d98c !important;
  background: linear-gradient(178deg,#4aa586a6 0%,#0e765b5c 27%,#004e3ec2 84%,#085b497a), linear-gradient(110deg,#146c52ed,#046047f2 55%,#087457d6);
  box-shadow: inset 0 1px 1px #f0fffab3,inset 1px 0 2px #ddfff173,inset 0 -2px 2px #003b33ab,0 5px 12px -6px #0643328c;
  color: white;
}
.poruchitel[data-screen="home"] .section-label {margin: clamp(17px,2.6vh,24px) 4px 12px;}
.poruchitel[data-screen="home"] .section-label h2 {
  display: inline-block;
  font-size: clamp(19px,5.2vw,23px);
  letter-spacing: -.035em;
  color: #103b2e;
  text-shadow: 0 1px 5px #f6fff1,0 0 12px white;
}
.poruchitel[data-screen="home"] .service-list {
  padding: 0;
  gap: 10px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  grid-template-rows: repeat(3,minmax(78px,1fr));
}
.poruchitel[data-screen="home"] .service {
  position: relative;
  min-height: 78px;
  border-radius: 23px;
  gap: 10px;
  padding: 10px clamp(12px,3.7vw,20px);
  text-align: left;
}
.poruchitel[data-screen="home"] .service-symbol {
  flex: none;
  width: clamp(50px,14vw,65px);
  height: clamp(50px,14vw,65px);
}
.poruchitel[data-screen="home"] .service > span {min-width: 0;flex: 1;}
.poruchitel[data-screen="home"] .service strong {
  color: var(--glass-ink);
  font-size: clamp(15px,4.35vw,19px);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.poruchitel[data-screen="home"] .service small {color: var(--glass-muted);line-height: 1.28;}
.poruchitel[data-screen="home"] .service::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 1px 0 0;
  flex: 0 0 6px;
  border: solid #3d695ab3;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.poruchitel[data-screen="home"] .p-navigation {
  height: 68px;
  margin-bottom: 8px;
  padding: 5px;
  border-radius: 27px;
  background: linear-gradient(135deg,#ffffffe6,#f5fff6b3 52%,#f1fff2b8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.poruchitel[data-screen="home"] .p-navigation > button {
  height: 55px;
  min-height: 55px;
  color: #254a3d;
}
.poruchitel[data-screen="home"] .p-navigation .nav-active-pill {
  border: 1px solid #d5efdb;
  border-radius: 22px;
  background: linear-gradient(145deg,#fafffbd9,#bfe8cfb8 70%,#e1f8e8ce);
  box-shadow: inset 0 1px 2px #fff, inset 0 -1px 2px #6b9c7f66,0 1px 4px #234b3c24;
}
.poruchitel[data-screen="home"] .p-toast {
  width: max-content;
  max-width: calc(100% - 36px);
  margin-inline: auto;
  left: 0;right: 0;
  border-radius: 999px;
  padding: 11px 21px;
  font-weight: 650;
  color: #064c36;
  background-color: #ecfff0b3;
}
/* The displacement maps bend the backdrop at the curved perimeter only. */
@supports (backdrop-filter: url("#home-lens-card")) {
  .poruchitel[data-screen="home"] .home-hero {backdrop-filter: url("#home-lens-hero") blur(2px) saturate(1.12);}
  .poruchitel[data-screen="home"] .service {backdrop-filter: url("#home-lens-card") blur(5px) saturate(1.16);}
  .poruchitel[data-screen="home"] :is(.brand-topbar,.p-navigation,.p-toast) {backdrop-filter: url("#home-lens-bar") blur(8px) saturate(1.16);}
}
@media (max-width:359px) {
  .poruchitel[data-screen="home"] .brand-topbar {left:6px;right:6px;padding-inline:6px;}
  .poruchitel[data-screen="home"] .service {gap:6px;padding-inline:9px;}
}
@media (max-height:740px) {
  .poruchitel[data-screen="home"] .home-hero {padding-block:11px 16px;}
  .poruchitel[data-screen="home"] .section-label {margin-block:16px 10px;}
}
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  .poruchitel[data-screen="home"] :is(.brand-topbar,.home-hero,.service,.p-navigation,.p-toast){
    background:#f8fcf9;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    border-color:#b3c8bc !important;
  }
}
