/* Second design iteration: colour families, landscape backdrops and claims. */
.scenic-site .partner-services { background: #f5f0fabd; }
.partner-services .eyebrow { color: #685194; }
.finance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.finance-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid #ffffff9c; border-radius: 16px; background: #ffffff99; }
.finance-card:nth-child(2) { background: #edf8f1a8; }
.finance-card:nth-child(3) { background: #fff5e6a8; }
.finance-icon { color: #685194; font-size: 30px; margin-bottom: 22px; }
.finance-card:nth-child(2) .finance-icon { color: #397340; }
.finance-card:nth-child(3) .finance-icon { color: #956516; }
.finance-label { font-size: 10px; letter-spacing: .14em; font-weight: 750; color: #536171; margin: 0 0 12px; }
.finance-card h3 { font-size: 23px; line-height: 1.25; margin: 0 0 15px; }
.finance-card > p:not(.finance-label) { color: #425c6c; font-size: 14px; line-height: 1.8; margin: 0 0 25px; }
.finance-card > a { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #18394a20; font-size: 13px; font-weight: 700; }
.finance-partner { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; color: #425c6c; font-size: 13px; }
.finance-partner p { margin: 0; }
.finance-partner a { flex-shrink: 0; font-weight: 650; }
.branch-dialog { width: min(960px, calc(100% - 32px)); max-width: 960px; max-height: 92vh; overflow-y: auto; padding: 38px; background: #f4f8f7f5; border: 1px solid #ffffffb3; border-radius: 18px; }
.branch-dialog > h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 42px 26px 0; }
.branch-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.branch-detail-photo { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; }
.branch-dialog .branch-content { padding: 0; }
.branch-dialog .branch-content > p:first-of-type { margin-top: 0; }
.branch-dialog .branch-label { display: none; }
.branch-dialog .staff-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px; }
.branch-map-panel { border-top: 1px solid #12395725; padding-top: 24px; margin-top: 28px; }
.branch-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.branch-map-heading h3 { font-size: 20px; margin: 0; }
.branch-map-heading .text-link { font-size: 13px; }
.branch-map-panel .small { color: #425c6c; font-size: 12px; margin: 15px 0; }
#branch-map iframe { width: 100%; height: 330px; border: 0; border-radius: 12px; background: #e3ebee; }
@media (max-width: 850px) {
 .finance-grid { grid-template-columns: minmax(0, 1fr); }
 .finance-card { padding: 24px; }
 .finance-partner { flex-direction: column; }
 .branch-detail-grid { grid-template-columns: minmax(0, 1fr); }
 .branch-detail-photo { max-height: 320px; object-position: center 55%; }
 .branch-dialog { padding: 26px; }
 .branch-map-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
 .branch-dialog .staff-list { grid-template-columns: minmax(0, 1fr); }
 .branch-dialog { padding: 22px; }
}
:root { --teal: #087e82; --green: #397340; --coral: #ae523c; --violet: #685194; --ochre: #956516; }
.hero { position: relative; isolation: isolate; background: #e5f2f2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #eaf8f9f5 0%, #eef9f5e8 43%, #ffffff20 100%), var(--landscape, url('assets/krajina-1.webp')) center / cover; }
.hero-copy { padding: 20px 0; }
.hero em { color: var(--teal); }
.hero .button, .inquiry .button { background: var(--navy); border-color: var(--navy); }
.hero .button:hover, .inquiry .button:hover { background: var(--action-hover); }
.trust-strip > div:nth-child(1) .trust-number { background: #e4f2e9; border-color: #c6e4cf; color: var(--green); }
.trust-strip > div:nth-child(2) .trust-number { background: #e1f2f8; border-color: #bedeea; }
.trust-strip > div:nth-child(3) .trust-number { background: #fff0de; border-color: #eed7b6; color: var(--ochre); }
.insurance { background: linear-gradient(180deg, #fff 0%, #f8faf7 100%); }
.service { --card-accent: var(--green); --card-light: #f0f8f0; --card-icon: #d9eddb; border-top: 4px solid var(--card-accent); background: linear-gradient(145deg, var(--card-light), #fff 85%); }
.service:nth-child(6n+2) { --card-accent: #147da4; --card-light: #edf7fc; --card-icon: #d8edf8; }
.service:nth-child(6n+3) { --card-accent: #b34f60; --card-light: #fff2f3; --card-icon: #f8dfe4; }
.service:nth-child(6n+4) { --card-accent: #087f82; --card-light: #eafaF7; --card-icon: #cceee8; }
.service:nth-child(6n+5) { --card-accent: #786017; --card-light: #fff9e9; --card-icon: #f5e9bc; }
.service:nth-child(6n+6) { --card-accent: #70569b; --card-light: #f6f1fc; --card-icon: #e7dcf5; }
.service .service-icon { color: var(--card-accent); background: var(--card-icon); }
.service > a { color: var(--card-accent); }
.service:hover { border-color: var(--card-accent); }
.claims { background: linear-gradient(90deg, #194f90fa 0%, #194f90f2 45%, #194f90bf), url('assets/skody/vitr-strecha.webp') center / cover; }
.claims .eyebrow { color: #ffcb8e; }
.claims-steps { background: #17477ddd; }
.claims-steps li > span { color: #ffcb8e; }
.claims-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.claims-actions > a { max-width: 100%; }
.claims-gallery-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding-block: 8px; line-height: 1.5; border-bottom: 1px solid #ffffff70; color: #fff; font-weight: 650; font-size: 14px; }
.claims-gallery-link:hover { color: #ffcb8e; }
.landscape-story { position: relative; padding: 78px 0; background: linear-gradient(90deg, #0c374bea, #0c374b85 60%, #0c374b45), url('assets/krajina-2.webp') center 53% / cover; color: white; }
.landscape-story .eyebrow { color: #b4e7dc; }
.landscape-story h2 { max-width: 660px; font-size: clamp(32px, 3.6vw,50px); }
.landscape-story p:not(.eyebrow) { max-width: 490px; font-size: 15px; margin: 23px 0 26px; color: #e4f0f3; }
.landscape-story .text-link { color: #fff; border-bottom: 1px solid #ffffff70; padding-bottom: 5px; }
.about { background: #fffdf9; }
.about-panel { background: #eaf4ed; border: 1px solid #d4e4d8; }
.big-number { color: var(--green); }
.documents { background: #f9f2e5; }
.documents .eyebrow, .documents .document-note, .document-list a > span:last-child { color: #86631e; }
.document-list, .document-list a { border-color: #e1d7c1; }
.branch { border-top: 4px solid #198aa3; }
.branch:nth-child(2) { border-top-color: var(--green); background: #fbfdfb; }
.branch:nth-child(3) { border-top-color: #c48748; background: #fffdfa; }
.inquiry { background: linear-gradient(110deg, #e2f3ef, #edf7fb); }
.office-strip { display: grid; grid-template-columns: 220px 1fr; margin-top: 28px; gap: 26px; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f4f8f9; }
.office-strip img { height: 155px; width: 100%; object-fit: cover; }
.office-strip figcaption { padding: 18px 26px 18px 0; }
.office-strip .eyebrow { margin-bottom: 8px; font-size: 10px; }
.office-strip strong { font-size: 19px; }
.office-strip p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Claims page */
.breadcrumbs { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 42px; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.damage-hero { padding: 30px 0 65px; background: linear-gradient(120deg, #fbf1e3, #edf5f3); }
.damage-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 55px; align-items: center; }
.damage-hero h1 { font-size: clamp(39px, 4.1vw, 58px); line-height: 1.12; }
.damage-hero h1 em { color: #a95738; }
.damage-hero .eyebrow { color: #9a5f2f; }
.damage-hero .intro { font-size: 16px; color: var(--muted); margin: 23px 0 28px; max-width: 520px; }
.damage-hero .actions { gap: 17px; }
.damage-hero .button { background: #a95738; border-color: #a95738; font-size: 13px; }
.damage-hero .button:hover { background: #884129; }
.damage-hero .text-link { font-size: 12px; }
.damage-contact-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
.damage-contact-note a { text-decoration: underline; }
.damage-hero-photo { position: relative; height: 390px; border-radius: 14px 65px 14px 14px; overflow: hidden; }
.damage-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.damage-hero-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 65px 27px 25px; background: linear-gradient(transparent, #102f48ed); color: white; font-size: 17px; font-weight: 600; }
.damage-hero-photo figcaption span { display: block; font-size: 9px; letter-spacing: .14em; margin-bottom: 10px; color: #fff0dc; }
.damage-process { padding-block: 65px; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 0; margin: 0; }
.process-grid li { border-left: 3px solid #98c5d1; padding: 6px 24px; }
.process-grid li:nth-child(2) { border-color: #e4b985; }
.process-grid li:nth-child(3) { border-color: #9ebf9a; }
.process-number { color: var(--blue); font-size: 12px; font-weight: 700; }
.process-grid h3 { margin: 13px 0 12px; font-size: 21px; }
.process-grid p { color: var(--muted); font-size: 14px; }
.damage-gallery-section { background: #f5f7f8; }
.damage-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.damage-filters button { border: 1px solid #cfdee3; background: #fff; color: var(--ink); padding: 11px 16px; border-radius: 7px; font-size: 12px; font-weight: 650; }
.damage-filters button span { margin-left: 8px; opacity: .75; font-size: 11px; }
.damage-filters button.active { background: var(--navy); color: white; border-color: var(--navy); }
.damage-filters button:hover { border-color: var(--blue); }
.gallery-result { color: var(--muted); font-size: 12px; margin: 22px 0; }
.damage-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; align-items: start; }
.damage-card { --damage-color: #147da4; --damage-tint: #e3f2fa; background: white; border: 1px solid #dce6ea; border-radius: 12px; overflow: hidden; }
.damage-card[data-damage="voda"] { --damage-color: #087e82; --damage-tint: #def3ef; }
.damage-card[data-damage="pozar"] { --damage-color: #aa4e35; --damage-tint: #fce9dd; }
.damage-card[data-damage="vitr"] { --damage-color: #477342; --damage-tint: #e6f2e1; }
.damage-card[data-damage="snih"] { --damage-color: #655698; --damage-tint: #efe8f9; }
.damage-photo { display: block; position: relative; overflow: hidden; background: #e2e9eb; }
.damage-photo img { width: 100%; height: 225px; object-fit: cover; transition: transform .2s; }
.damage-photo:hover img { transform: scale(1.035); }
.zoom-mark { position: absolute; bottom: 13px; right: 13px; width: 33px; height: 33px; display: grid; place-items: center; background: #fff; color: var(--ink); border-radius: 50%; box-shadow: 0 2px 10px #0002; }
.damage-card figcaption { padding: 20px 22px 25px; border-top: 3px solid var(--damage-color); min-height: 140px; }
.damage-tag { display: inline-block; color: var(--damage-color); background: var(--damage-tint); border-radius: 4px; padding: 3px 8px; font-size: 10px; font-weight: 650; margin-bottom: 13px; }
.damage-card h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.015em; }
.damage-help { background: linear-gradient(110deg, #153c58, #1b696e); color: white; }
.damage-help > .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.damage-help .eyebrow { color: #a4dfd7; }
.damage-help p:not(.eyebrow) { font-size: 15px; color: #d7e7ec; margin-top: 24px; }
.help-links { display: flex; flex-direction: column; gap: 10px; }
.help-links > a { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff40; font-size: clamp(18px, 2.1vw, 27px); padding: 14px 0; }
.help-links > a:hover { color: #b7f1df; }
.help-links > .help-branch { font-size: 13px; border-bottom: 0; margin-top: 7px; }
.photo-dialog { width: min(1100px, calc(100% - 28px)); max-height: 94vh; padding: 0; border: 0; overflow: auto; background: #102d43; color: white; }
.photo-dialog .close-dialog { color: #fff; background: #102d43e6; z-index: 1; width: 40px; height: 40px; border-radius: 50%; right: 12px; top: 12px; }
.photo-dialog > img { width: 100%; height: min(67vh, 740px); object-fit: contain; background: #0a1d2c; }
.photo-dialog-footer { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; gap: 20px; }
.photo-dialog-footer h2 { font-size: 20px; margin: 6px 0 0; letter-spacing: -.02em; }
#photo-position { color: #adc9d9; font-size: 12px; }
.photo-dialog-controls { display: flex; gap: 9px; flex-shrink: 0; }
.photo-dialog-controls button { color: white; background: #ffffff12; border: 1px solid #ffffff75; width: 44px; height: 44px; border-radius: 50%; }
.photo-dialog-controls button:hover { background: #ffffff35; }
@media (max-width: 1000px) {
  .damage-hero-grid { gap: 30px; }
  .damage-hero-photo { height: 380px; }
  .damage-hero .actions { align-items: flex-start; flex-direction: column; }
  .damage-gallery { grid-template-columns: repeat(2, 1fr); }
  .process-grid { gap: 15px; }
  .process-grid li { padding-inline: 18px; }
}
@media (max-width: 640px) {
  .hero-copy { padding: 0; }
  .hero::before { background: linear-gradient(180deg, #eaf8f9f0, #eef9f5ef 55%, #e8f5f7b5), var(--landscape, url('assets/krajina-1.webp')) center / cover; }
  .landscape-story { padding: 58px 0; background-position: 60% center; }
  .landscape-story h2 { font-size: 34px; }
  .office-strip { grid-template-columns: 1fr; gap: 0; }
  .office-strip img { height: 210px; }
  .office-strip figcaption { padding: 22px; }
  .damage-hero { padding: 23px 0 42px; }
  .breadcrumbs { margin-bottom: 30px; font-size: 11px; }
  .damage-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .damage-hero h1 { font-size: clamp(31px, 9vw, 43px); }
  .damage-hero .intro { font-size: 15px; }
  .damage-hero .button { font-size: 12px; padding-inline: 15px; }
  .damage-hero-photo { height: 295px; border-top-right-radius: 50px; }
  .damage-hero-photo figcaption { font-size: 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 26px; }
  .process-grid li { padding: 0 0 0 22px; }
  .damage-filters { gap: 7px; }
  .damage-filters button { font-size: 11px; padding: 10px 11px; }
  .damage-filters button span { margin-left: 4px; }
  .damage-gallery { grid-template-columns: 1fr; gap: 20px; }
  .damage-photo img { height: 235px; }
  .damage-card figcaption { min-height: 0; }
  .damage-card h3 { font-size: 19px; }
  .damage-help > .container { grid-template-columns: 1fr; gap: 30px; }
  .help-links > a { font-size: 22px; }
  .photo-dialog-footer { padding: 17px; gap: 12px; align-items: flex-start; }
  .photo-dialog-footer h2 { font-size: 16px; }
  .photo-dialog-controls button { width: 38px; height: 38px; }
  .photo-dialog > img { height: 58vh; }
}
@media (prefers-reduced-motion: reduce) { .damage-photo img { transition: none; } }
@media print { .damage-filters, .photo-dialog { display: none!important; } .damage-card { break-inside: avoid; } .landscape-story, .damage-help { background: #fff; color: #000; } }

/* Map services and directions share the selected branch address. */
.branch-map-destination { font-size: 13px; color: #425c6c; margin: -6px 0 20px; }
.map-providers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.map-provider { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 18px; border: 1px solid #12395720; border-radius: 12px; background: #ffffff80; }
.map-provider h4 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.branch-dialog .map-provider p { color: #425c6c; font-size: 12px; margin: 0 0 20px; }
.map-provider .button { margin-top: auto; width: 100%; }
.map-provider-link { font-size: 12px; font-weight: 650; padding-block: 12px 0; text-decoration: underline; text-underline-offset: 3px; }
.map-provider-link:hover { color: var(--blue); }
@media (max-width: 640px) { .map-providers { grid-template-columns: minmax(0, 1fr); } .map-provider { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; } .map-provider h4, .map-provider p { grid-column: 1; } .map-provider .button { grid-column: 2; grid-row: 1 / 3; width: auto; margin: 0; } .branch-dialog .map-provider p { margin-bottom: 0; } .map-provider-link { grid-column: 1 / -1; } }
@media (max-width: 380px) { .map-provider { display: flex; align-items: stretch; } .map-provider .button { margin-top: 14px; } }

.branch-inline-map { margin-top: 6px; }

/* Supplied Facebook pages, with clear branch names. */
.scenic-site .branch-content .branch-facebook { display: inline-flex; align-items: center; gap: 10px; margin-top: 15px; color: #174c77; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.footer-social { padding-block: 25px; border-top: 1px solid #18364b20; }
.footer-social > p { font-size: 13px; font-weight: 650; margin-bottom: 12px; }
.footer-social > div { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social a { display: inline-flex; align-items: center; gap: 16px; padding: 10px 16px; border: 1px solid #174c7730; border-radius: 9px; color: #174c77; background: #ffffff75; font-size: 13px; font-weight: 600; }
.footer-social a:hover { background: #fff; border-color: #174c77; }
@media (max-width: 420px) { .footer-social > div { flex-direction: column; align-items: flex-start; } }
