.top .nav { gap: 18px; }
.top .nav > nav { margin-left: 0; }
.navcall > svg, .navcall-label { display: none; }
.hero { min-height: 560px; padding: 64px 0; }
.hero:has(.detail-price) { min-height: 470px; }
.hero.hero--calculator { min-height: 0; padding: 36px 0; }
.hero.hero--calculator .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 32px;
  align-items: center;
}
.hero.hero--calculator h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
.hero--calculator p { margin-bottom: 0; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin-block: 16px; }
.hero p { line-height: 1.55; margin-bottom: 18px; }
.hero .buttons { margin: 20px 0 0; }
.hero .hero-grid[style] { margin-top: 16px !important; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #c1d3df;
  font-size: .875rem;
}
.hero-facts li { display: flex; align-items: baseline; gap: 8px; }
.hero-facts li::before { content: "✓"; color: #62c3ff; font-weight: 800; }
.detail-price p { margin: 10px 0 0 !important; }
.section { padding: 70px 0; }
.section h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); }
.service { min-height: 0; padding: 27px; }
.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border: 1px solid #2f6488;
  border-radius: 16px;
  background: linear-gradient(145deg, #183a52, #0d2233);
  color: #64c4ff;
}
.service-icon svg { display: block; width: 44px; height: 44px; }
.service-icon__shade { fill: #27a8ff21; }
.service-icon__detail { stroke: #b8e6ff; }
.service p { margin-bottom: 8px; }
.service-price { padding: 6px 0 10px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  .anchor-alias, section[id], #kalkulacka { scroll-margin-top: 0; }
  .top .nav { height: 60px; min-height: 0; padding: 0; align-items: center; gap: 8px; }
  .top .navcall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid #5abaff;
    border-radius: 9px;
    background: #27a8ff;
    color: #02111b;
    font: 800 .81rem Manrope, system-ui, sans-serif;
  }
  .top .navcall small, .top .navcall .phone-number { display: none; }
  .top .navcall .navcall-label { display: inline; }
  .top .navcall > svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-menu-toggle { margin-left: 0; }
  .hero, .hero:has(.detail-price) { min-height: 0; padding: 28px 0; }
  .hero:has(.hero-image) { min-height: 325px; }
  .hero-image img { object-position: 76% center; }
  .hero:has(.hero-image)::before {
    background: linear-gradient(90deg, #040b11ed, #040b11a8),
                linear-gradient(0deg, #071018db, transparent 58%);
  }
  .hero:has(.hero-image) p { color: #d5dfe6; }
  .hero:has(.detail-price) .hero-grid { gap: 18px; }
  .hero h1, .hero:has(.detail-price) h1 {
    font-size: clamp(1.95rem, 7.8vw, 3.2rem);
    margin: 10px 0;
    letter-spacing: -.045em;
  }
  .hero.hero--calculator { padding: 12px 0 12px; }
  .hero.hero--calculator h1 { font-size: clamp(1.85rem, 7.8vw, 3.2rem); }
  .hero.hero--calculator .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 8px !important;
  }
  .hero.hero--calculator + .key-quote { padding-top: 22px; }
  .hero p { font-size: 1rem; margin-bottom: 0; }
  .hero .buttons { display: flex; gap: 8px; margin-top: 14px; }
  .hero .btn { min-height: 44px; padding: 0 12px; border-radius: 8px; }
  .hero .eyebrow { letter-spacing: .13em; }
  .hero-facts { gap: 5px 16px; margin-top: 15px; font-size: .84rem; }
  .hero .photo-label {
    bottom: 8px;
    right: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #071018d9;
    color: #e2eaf0;
  }
  @supports (overflow: clip) {
    .hero:has(.hero-image) { overflow: clip; }
    /* Extend the layer by one hero height so the image can stay below the sticky header. */
    .hero-image { bottom: -100%; }
    .hero-image img {
      position: sticky;
      top: 61px;
      display: block;
      height: 50%;
    }
    .hero .photo-label { bottom: calc(50% + 8px); }
  }
  .hero:has(.detail-price) .detail-price { padding: 13px 16px !important; border-radius: 12px; }
  .hero .detail-price strong { display: inline-block; margin: 0 0 0 8px !important; font-size: 1.3rem; }
  .hero .detail-price p { font-size: .87rem; line-height: 1.45; margin-top: 6px !important; }
  .section { padding: 34px 0; }
  .section h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .section-head { margin-bottom: 16px; }
  .section-head h2 { margin-top: 6px; }
  .section-head p { margin-top: 8px; }
  .contact-panel, .split { gap: 22px; }
  .workflow { margin-top: 20px; gap: 16px; }
  .service-grid { gap: 9px; }
  .service { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px; padding: 13px; border-radius: 13px; align-items: center; }
  .service > .number { display: none; }
  .service-icon {
    grid-row: 1 / span 2;
    align-self: start;
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 12px;
  }
  .service-icon svg { width: 32px; height: 32px; }
  .service h3 { margin: 0; font-size: 1.17rem; }
  .service p, .service-price, .service a { grid-column: 2; }
  .service p { margin: 2px 0 0; font-size: .88rem; line-height: 1.4; }
  .service-price { padding: 5px 0 0; }
  .service a { justify-self: start; display: inline-flex; align-items: center; min-height: 34px; border: 0; padding: 0; color: #91d4ff; }
  .price-table td { padding: 10px 0; }
  .key-quote .key-quote__intro { margin-bottom: 16px; }
  .key-quote .key-quote__intro p { font-size: .95rem; margin-bottom: 0; }
  .key-quote .key-quote__form, .key-quote .key-quote__estimate { padding: 15px; }
  footer { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .top .navcall { padding-inline: 0; }
  .top .navcall .navcall-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.key-prices .split {
  align-items: start;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
}

.key-prices__intro p {
  max-width: 37ch;
  margin-bottom: 16px;
}

.price-list {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #28495f;
  border-radius: 16px;
  background: linear-gradient(145deg, #122b3c, #0b1923 75%);
}

.price-list table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .95rem;
}

.price-list th,
.price-list td {
  padding: 12px 16px;
}

.price-list thead th {
  background: #09192480;
  color: #a7bac8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-list thead th:last-child,
.price-list td {
  text-align: right;
}

.price-list tbody tr {
  border-top: 1px solid #28495f;
}

.price-list tbody th {
  color: #eff5fa;
  line-height: 1.35;
}

.price-list tbody small {
  display: block;
  margin-top: 3px;
  color: #a9bbc9;
  font-size: .82rem;
  font-weight: 500;
}

.price-list__amount {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: #1a3b51;
  color: #a8ddff;
  font-size: .86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-list__terms,
.price-list__link {
  padding: 12px 16px;
  border-top: 1px solid #28495f;
  font-size: .83rem;
}

.price-list__terms {
  display: grid;
  gap: 2px;
  color: #a9bbc9;
}

.price-list__terms strong,
.price-list__link {
  color: #a8ddff;
}

.price-list__link {
  display: block;
  font-weight: 800;
}

.price-list__link:hover,
.price-list__link:focus-visible {
  background: #183547;
}

@media (max-width: 650px) {
  .key-prices .split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .key-prices__intro p { margin-bottom: 0; }
  .key-prices__intro .btn { margin-top: 12px; min-height: 44px; }
  .price-list { border-radius: 12px; }
  .price-list th, .price-list td { padding: 10px 11px; }
  .price-list table { font-size: .87rem; }
  .price-list tbody small, .price-list__amount { font-size: .78rem; }
  .price-list__terms, .price-list__link { padding: 10px 11px; }
}


.price-list--compact caption {
  padding: 6px 10px;
  background: #09192480;
  color: #b5c9d8;
  font-size: .74rem;
  font-weight: 800;
  text-align: left;
}

.price-list--compact table {
  font-size: .84rem;
  line-height: 1.25;
}

.price-list--compact th,
.price-list--compact td {
  padding: 4px 10px;
}

.price-list--compact .price-list__amount {
  padding: 2px 6px;
  font-size: .78rem;
}

.price-list--compact .price-list__terms {
  padding: 6px 10px;
  font-size: .72rem;
  line-height: 1.4;
}

.hero-emergency-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #a8ddff;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero .hero-call-tip {
  margin: 8px 0 0;
  color: #b7cad7;
  font-size: .88rem;
}

.job-section h2 {
  margin: 8px 0 16px;
}

.job-section p {
  max-width: 55ch;
  color: #aebfce;
}

.job-preview-grid,
.job-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.job-photos {
  max-width: 860px;
}

.job-photos--single {
  grid-template-columns: minmax(0, 520px);
}

.job-preview,
.job-photos figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #28495f;
  border-radius: 14px;
  background: #0d2233;
}

.job-preview img,
.job-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% var(--photo-y, 50%);
}

.job-preview img {
  aspect-ratio: 2 / 1;
}

.job-preview__body,
.job-photos figcaption {
  padding: 12px 14px;
}

.job-preview h3 {
  margin: 6px 0 0;
}

.job-preview h3 a:hover {
  color: #a8ddff;
}

.job-photos figcaption,
.job-more {
  color: #b5c9d8;
  font-size: .86rem;
}

.job-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
}

.job-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a8ddff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 650px) {
  .job-preview-grid,
  .job-photos { gap: 8px; }
  .job-preview img { aspect-ratio: 4 / 3; }
  .job-preview__body,
  .job-photos figcaption { padding: 9px; }
  .job-preview__body .eyebrow { font-size: .6rem; letter-spacing: .08em; }
  .job-preview h3 { font-size: 1rem; }
  .job-photos figcaption { font-size: .75rem; }
  .job-more { column-gap: 10px; row-gap: 0; }
}

.service-group-title {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #28495f;
  color: #a8ddff;
  font-size: 1.35rem;
}

.service h4 {
  margin: 0 0 12px;
  color: #eff5fa;
  font: 700 27px / 1.08 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -.025em;
}

.key-quote__note.key-quote__discount {
  margin-top: 8px;
  color: #a8ddff;
}

@media (max-width: 900px) {
  .service h4 { margin: 0; font-size: 1.17rem; }
  .service-group-title { margin-top: 10px; padding-top: 12px; font-size: 1.15rem; }
}

@media (max-width: 900px) {
  .cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
