/* Continuous decorative landscape. Regional information belongs to contacts. */
.scenic-site {
  position: relative;
  isolation: isolate;
  background: #c6e0e6;
}
.scenic-site::before,
.scenic-background {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('assets/krajina-1.webp') center / cover no-repeat;
}
.scenic-layer {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity .65s ease-out;
}
.scenic-site .section, .scenic-site .trust-strip, .scenic-site .office-strip {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.scenic-site .service {
  background: linear-gradient(145deg, color-mix(in srgb, var(--card-light) 58%, transparent), #ffffff8f);
}
.scenic-site .about-panel { background: #eaf4ed99; }
.scenic-site .claims-steps { background: #17477d6b; }
.scenic-site .damage-card { background: #ffffffa6; }
.scenic-site .hero {
  --hero-wash: linear-gradient(90deg, #f1fbfcf5 0%, #f1fbfce8 36%, #f1fbfc66 68%, #f1fbfc05 100%);
  background: transparent;
  padding: 74px 0 60px;
  isolation: isolate;
}
/* Fade only the decorative wash; text and controls stay fully opaque. */
.scenic-site .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 -88px;
  z-index: -1;
  pointer-events: none;
  background: var(--hero-wash);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 160px), #000000b3 calc(100% - 100px), #00000040 calc(100% - 45px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 160px), #000000b3 calc(100% - 100px), #00000040 calc(100% - 45px), transparent 100%);
}
.scenic-site .hero-grid { display: block; }
.scenic-site .hero-copy { max-width: 650px; padding: 0; }
.scenic-site .hero h1 { font-size: clamp(48px, 5.1vw, 74px); }
.scenic-site .hero .intro { max-width: 490px; color: #425c6c; }
.scenic-site .hero .eyebrow { max-width: 500px; }
.scenic-site .hero-note { color: #3d5868; }
.scenic-site .trust-strip {
  background: #ffffffcc; border: 0; border-radius: 12px;
  padding: 26px 30px; margin-top: 28px; margin-bottom: 28px;
}
.scenic-site .section {
  width: min(1320px, calc(100% - 48px));
  margin: 28px auto;
  border-radius: 18px;
  border: 1px solid #ffffff80;
  box-shadow: 0 10px 40px #15364b12;
}
.scenic-site .section > .container { width: calc(100% - 64px); max-width: 1200px; }
.scenic-site .insurance { background: #f8fcfab8; }
.scenic-site .claims { background: #194f90d6; }
.scenic-site .about { background: #fffdf6bd; }
.scenic-site .documents { background: #faf0dfc2; }
.scenic-site .contact { background: #f5fafcbd; }
.scenic-site .inquiry { background: #e9f7f3bf; }
.scenic-site .branch { background: #ffffff99; }
.scenic-site .branch:nth-child(2) { background: #f9fdf999; }
.scenic-site .branch:nth-child(3) { background: #fffdfa99; }
.scenic-site .office-strip { background: #ffffffcc; margin-top: 0; }
.scenic-site footer { background: #ffffffcc; }
.scenic-site .damage-hero { background: linear-gradient(100deg, #fff5e9d4, #f2faf5b8); }
.scenic-site .damage-process { background: #ffffffc2; }
.scenic-site .damage-gallery-section { background: #f5f8fcbd; }
.scenic-site .damage-help { background: #164d60d9; }
@media (min-width: 1600px) {
  .scenic-site .section { width: min(1440px, calc(100% - 80px)); }
  .scenic-site .section > .container { max-width: 1320px; }
}
@media (max-width: 900px) {
  .scenic-site .hero { padding-top: 55px; --hero-wash: linear-gradient(90deg, #f1fbfcf5, #f1fbfccf 60%, #f1fbfc40); }
  .scenic-site .hero-copy { max-width: 570px; }
  .scenic-site .section { width: calc(100% - 32px); }
  .scenic-site .section > .container { width: calc(100% - 40px); }
  .scenic-site .trust-strip { padding: 23px; }
}
@media (max-width: 640px) {
  .scenic-site .hero { padding: 42px 0 24px; --hero-wash: linear-gradient(90deg, #f1fbfcf2, #f1fbfcc9); }
  .scenic-site .hero h1 { font-size: clamp(35px, 11.5vw, 49px); }
  .scenic-site .hero .eyebrow { max-width: 320px; }
  .scenic-site .section { width: calc(100% - 24px); margin-block: 20px; border-radius: 13px; }
  .scenic-site .section > .container { width: calc(100% - 32px); }
  .scenic-site .trust-strip { padding: 22px; margin-block: 20px; }
  .scenic-site .service { padding: 22px; }
  .scenic-site .claims .button { font-size: 12px; padding-inline: 12px; gap: 10px; }
  .scenic-site .claims h2 { font-size: 33px; }
  .scenic-site .claims-steps { padding: 23px; }
  .scenic-site .branch { padding: 22px; }
  .scenic-site .branch h3 { font-size: 21px; }
  .scenic-site .help-links > a { font-size: 20px; }
  .scenic-site .help-links > .help-branch { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .scenic-background { display: none; }
  .scenic-site { scroll-behavior: auto; }
}
@media print {
  .scenic-site::before, .scenic-background { display: none; }
  .scenic-site { background: #fff; }
  .scenic-site .section { width: 100%; margin: 0; box-shadow: none; border: 0; }
}

/* Branch photographs and the current office directory. */
.scenic-site .branches { align-items: start; }
.scenic-site .branch { display: flex; padding: 0; overflow: hidden; width: 100%; }
.scenic-site .branch-photo { width: 100%; height: 320px; object-fit: cover; object-position: center 57%; }
.scenic-site .branch-content { width: 100%; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.scenic-site .branch-content > p { font-size: 13px; color: #425c6c; margin: 14px 0 20px; }
.scenic-site .branch-content > a { font-size: 13px; overflow-wrap: anywhere; }
.scenic-site .branch-content > a:hover { color: var(--blue); }
.scenic-site .branch-content .branch-phone { font-size: 19px; padding: 0; margin-bottom: 5px; }
.scenic-site .branch-content .branch-mobile { font-size: 16px; margin-bottom: 12px; }
.scenic-site .branch-content .branch-person { margin: 0 0 8px; font-weight: 650; color: var(--ink); }
.scenic-site .branch-content .branch-label { margin-bottom: 15px; }
.scenic-site .branch-content h3 { min-height: 53px; }
.scenic-site .branch-content details { width: 100%; margin-top: 20px; padding-bottom: 0; }
.scenic-site .branch-content summary { line-height: 1.6; }
.scenic-site .branch-team summary span { color: var(--muted); font-weight: 400; }
.scenic-site .staff-list { list-style: none; padding: 0; margin: 15px 0 0; }
.scenic-site .staff-list li { display: flex; flex-direction: column; gap: 4px; padding: 13px 0; border-top: 1px solid #12395720; }
.scenic-site .staff-list a { display: block; overflow-wrap: anywhere; }
.scenic-site .staff-email { font-size: 12px; color: #36566b; }
.scenic-site .staff-phone { font-size: 15px; font-weight: 650; }
.scenic-site .staff-list a:hover { color: var(--blue); text-decoration: underline; }
.scenic-site .branch-content .map-link { margin-top: 22px; padding-top: 15px; align-self: auto; }
@media (min-width: 641px) and (max-width: 900px) {
  .scenic-site .branch { flex-direction: row; align-items: stretch; }
  .scenic-site .branch-photo { width: 38%; height: auto; max-height: 460px; object-fit: cover; }
  .scenic-site .branch-content { width: 62%; }
  .scenic-site .branch-content h3 { min-height: 0; }
}
@media (max-width: 640px) {
  .scenic-site .branch-photo { height: 330px; }
  .scenic-site .branch-content { padding: 22px; }
  .scenic-site .branch-content h3 { min-height: 0; }
}
@media print {
  .scenic-site .branch-photo { height: 180px; }
}

.scenic-site .branch-photo-link { display: block; position: relative; width: 100%; flex-shrink: 0; overflow: hidden; }
.office-zoom { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 30px; background: #ffffffed; color: #123957; font-size: 12px; font-weight: 650; box-shadow: 0 3px 12px #0002; }
.branch-photo-link:hover .office-zoom { background: #123957; color: white; }
.branch-photo-link:focus-visible { outline-offset: -5px; }
#office-dialog > img { background: #0a1d2c; }
@media (min-width: 641px) and (max-width: 900px) {
  .scenic-site .branch-photo-link { width: 38%; }
  .scenic-site .branch-photo-link .branch-photo { width: 100%; height: 100%; max-height: 460px; }
}

/* Mobile: retain translucent colours without continuously blurring the scenery. */
@media (max-width: 900px), (pointer: coarse) {
  .scenic-site::before, .scenic-background {
    bottom: auto;
    height: 100vh;
    height: 100lvh;
    background-image: var(--petrast-first-landscape, url('assets/mobile/krajina-1.webp'));
  }
  .scenic-site .section, .scenic-site .trust-strip, .scenic-site .office-strip,
  .scenic-site .reader-heading, .scenic-site .reader-paper, .scenic-site .reader-aside {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.scenic-background--mobile .scenic-layer { transition: opacity .6s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .scenic-background--mobile .scenic-layer { transition: none; }
}
