:root {
  --ink: #262622;
  --muted: #68675f;
  --paper: #f7f5f0;
  --white: #fffefa;
  --accent: #b38a5b;
  --line: rgba(38,38,34,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { max-width: 1440px; min-height: 100vh; margin: 0 auto; color: var(--ink); background: var(--paper); font-family: "Helvetica Neue", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }

/* Zgornja navigacija (Slikopleskarstvo, pleskanje, tapete) */
.topbar { 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  width: 100%; 
  background: var(--paper); 
  padding: 14px clamp(20px, 6vw, 88px); 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 24px; 
  color: var(--ink); 
  border-bottom: 1px solid rgba(38,38,34,.2);
  box-shadow: 0 3px 14px rgba(30,24,19,.08);
  min-height: 88px;
}
.contact-strip {
  min-height: 34px;
  background: #292520;
  color: #fffefa;
}
.contact-strip-inner {
  max-width: 1440px;
  min-height: 34px;
  margin: 0 auto;
  padding: 5px clamp(20px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .04em;
}
.contact-strip a { color: #fffefa; text-decoration: none; }
.contact-strip a:hover, .contact-strip a:focus-visible { color: #e4c99e; text-decoration: underline; text-underline-offset: 3px; }
.contact-strip .contact-phone { font-weight: 700; }
.contact-strip .contact-label { color: #d8c6a8; }
.menu-toggle { display: none; }
.brand { 
  text-decoration: none; 
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.4vw, 20px); 
  letter-spacing: .01em; 
  font-weight: 600; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: var(--ink);
}
.brand-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  color: var(--accent);
}
nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 24px); align-items: center; }
nav a { text-decoration: none; font-size: 14px; letter-spacing: .015em; text-transform: none; font-weight: 600; color: #24211d; }
nav a:hover, .text-link:hover { color: #805a31; }
.dropdown > summary:hover, .dropdown > summary:focus-visible { color: #805a31; }

/* Spustni meni (Dropdown) */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown > summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}
.topbar nav > .dropdown > summary {
  color: #24211d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .015em;
}
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary::after { content: "⌄"; margin-left: 6px; font-size: 13px; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--line);
  z-index: 101;
  padding: 8px 0;
  border-radius: 2px;
}
.dropdown-content a {
  color: var(--ink);
  padding: 10px 18px;
  text-decoration: none;
  display: block;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(38,38,34,.04);
  transition: background 0.2s, color 0.2s;
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background-color: var(--paper);
  color: var(--accent);
}
.dropdown[open] > .dropdown-content {
  display: block;
}
.brand-lockup { display:flex; flex-direction:column; gap:0; line-height:1.3; }
.brand-lockup > span:first-child { color: #24211d; }
.brand-sub { font-family: Arial, sans-serif; color:#805a31; font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; margin-top:4px; }
#main-navigation > a:last-child {
  padding: 10px 17px;
  border: 1px solid #987044;
  border-radius: 999px;
  background: #987044;
  color: #fffefa;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
#main-navigation > a:last-child:hover,
#main-navigation > a:last-child:focus-visible {
  border-color: #76542f;
  background: #76542f;
  color: #fffefa;
  transform: translateY(-1px);
}
#main-navigation > a[aria-current="page"],
#main-navigation > a[aria-current="location"] { color: #805a31; text-decoration: underline; text-decoration-color: #b38a5b; text-decoration-thickness: 2px; text-underline-offset: 7px; }

/* Glavna naslovna sekcija (Hero) */
.hero { min-height: 710px; height: min(88vh, 900px); position: relative; display: flex; align-items: center; padding: 130px clamp(22px, 9vw, 140px) 80px; color: white; background: #55473f url("images/naslovna-fotografija.jpg") center 54% / cover no-repeat; background-image: image-set(url("images/naslovna-fotografija.webp") type("image/webp"), url("images/naslovna-fotografija.jpg") type("image/jpeg")); background-position: center 54%; background-size: cover; background-repeat: no-repeat; }
.hero.home-hero { background-image: none; background-color: #55473f; isolation: isolate; }
.hero.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("images/naslovna-fotografija.jpg") center 54% / cover no-repeat; background-image: image-set(url("images/naslovna-fotografija.webp") type("image/webp"), url("images/naslovna-fotografija.jpg") type("image/jpeg")); filter: brightness(1.18) saturate(1.28) sepia(.22); }
.hero.tapete-hero { min-height: 480px; height: auto; padding: 80px clamp(22px, 9vw, 140px); background: #55473f url("images/tapete-ozadje.jpg") center center / cover no-repeat; background-image: image-set(url("images/tapete-ozadje.webp") type("image/webp"), url("images/tapete-ozadje.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero.stukature-hero { min-height: 480px; height: auto; padding: 80px clamp(22px, 9vw, 140px); background: #55473f url("images/stukature-ozadje.jpg") center center / cover no-repeat; background-image: image-set(url("images/stukature-ozadje.webp") type("image/webp"), url("images/stukature-ozadje.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero.service-hero { min-height: 500px; height: auto; padding: 96px clamp(22px, 9vw, 140px); }
.hero.hero-fasade { background-image: url("images/fasade-ozadje-hd.webp"); background-position: center center; }
.hero.hero-poslikave { background-image: url("images/poslikave-galerija/poslikave-projekt-1.webp"); background-position: center 48%; }
.hero.hero-obnova { background-image: url("images/obnova-stukatur-galerija/obnova-stukatur-projekt-1.webp"); background-position: center 50%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,20,15,.78) 0%, rgba(43,28,20,.49) 43%, rgba(43,28,20,.13) 100%), linear-gradient(0deg, rgba(20,18,17,.26), rgba(57,37,25,.08) 58%); }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.eyebrow { font-size: 11px; letter-spacing: .23em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(38px, 5.5vw, 82px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 24px; }
.hero p { max-width: 580px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.9); margin: 0 0 24px; }

/* Gumbi */
.button-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 25px; border-radius: 999px; text-decoration: none; background: var(--accent); color: white; border: 1px solid var(--accent); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: .01em; transition: .2s ease; }
.button:hover { background: #9d7748; border-color: #9d7748; transform: translateY(-1px); }
.button.outline { background: rgba(24,20,17,.12); border-color: #d1aa70; color: white; }
.button.outline:hover { background: rgba(179,138,91,.2); border-color: #e0bd88; }
.button.call-btn { background: #b8915e; border-color: #b8915e; color: white; }
.button.call-btn:hover { background: #9d7748; border-color: #9d7748; }
.button-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.button-separator { color: rgba(255,255,255,.9); font-size: 14px; padding: 0 4px; }

/* Pasica storitev (service-strip) */
.service-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); background:#fffdfa; padding:34px clamp(18px,5vw,80px); border-bottom:1px solid var(--line); }
.strip-item { text-align:center; padding:0 18px; border-right:1px solid var(--line); }
.strip-item:last-child { border-right:0; }
.strip-link { color:inherit; text-decoration:none; cursor:pointer; }
.strip-icon { width:46px; height:46px; margin:0 auto 10px; display:block; color:#b38a5b; stroke-width:1.35; }
.strip-item h3 { font-family:Georgia,serif; font-weight:400; font-size:17px; line-height:1.25; margin:0 0 6px; }
.strip-item p { color:var(--muted); font-size:12px; line-height:1.5; margin:0 auto; max-width:180px; }

/* Sekcije in vsebina */
.section { padding: 105px clamp(22px, 8vw, 120px); }
.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { color: var(--accent); margin-bottom: 14px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 52px); line-height: 1.13; font-weight: 400; letter-spacing: -.025em; margin: 0 0 18px; }
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--white); padding: 34px 30px 36px; min-height: 230px; }
.service .number { font-size: 11px; letter-spacing: .16em; color: var(--accent); margin-bottom: 24px; }
.service h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 25px; line-height: 1.2; margin: 0 0 12px; }
.service p { color: var(--muted); font-size: 14px; margin: 0; }

.types-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 60px; }
.type-card { background: var(--white); border: 1px solid var(--line); padding: 36px 30px; border-radius: 4px; position: relative; }
.type-card.featured { border: 2px solid var(--accent); background: #fcf9f5; }
.type-card .badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: white; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; padding: 4px 10px; font-weight: 700; }
.type-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; margin: 0 0 12px; font-weight: 400; }
.type-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.explain-block { background: var(--white); border: 1px solid var(--line); padding: 40px; margin-bottom: 40px; border-left: 4px solid var(--accent); }
.explain-block h3 { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; margin: 0 0 16px; }
.explain-block p { color: #4a4943; font-size: 15px; margin-bottom: 16px; }
.explain-block ul { margin: 0; padding-left: 20px; color: #5f5b54; font-size: 14.5px; }
.explain-block li { margin-bottom: 8px; }

.quality-box { background: #eae4dc; padding: 45px clamp(25px, 5vw, 60px); margin: 60px 0; border-radius: 4px; }
.quality-box h2 { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 400; margin: 0 0 16px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.feature-image { min-height: 420px; background: url("images/naslovna-fotografija.jpg") center / cover no-repeat; background-image: image-set(url("images/naslovna-fotografija.webp") type("image/webp"), url("images/naslovna-fotografija.jpg") type("image/jpeg")); background-position: center; background-size: cover; background-repeat: no-repeat; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 95px); background: #eae4dc; }
.feature-copy .eyebrow { color: var(--accent); }
.feature-copy p { color: #5f5b54; margin: 0 0 22px; }
.checks { padding: 0; margin: 5px 0 0; list-style: none; }
.checks li { padding: 9px 0; border-bottom: 1px solid rgba(38,38,34,.12); font-size: 14px; }
.checks li::before { content: "—"; color: var(--accent); margin-right: 12px; }

.contact { background: #292a26; color: white; text-align: center; }
.contact .section-head p { color: rgba(255,255,255,.72); }
.contact .eyebrow { color: #d5ad9a; }

/* PRILAGODLJIVA (RESPONSIVE) GALERIJA GLEDE NA VELIKOST ZASLONA */
.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); 
  gap: 20px; 
  width: 100%; 
}
.gallery-category + .gallery-category { margin-top: 38px; }
.gallery-category h3 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; }
.gallery-item { 
  position: relative; 
  overflow: hidden; 
  margin: 0;
  border-radius: 4px; 
  height: 260px; 
  border: 1px solid var(--line); 
  background: #ddd; 
}
.gallery-item[hidden] { display: none; }
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}
.gallery-caption { 
  position: absolute; 
  bottom: 0; 
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75)); 
  color: white; 
  padding: 20px 16px 12px; 
  font-size: 13px; 
}
.gallery-more {
  display: block;
  margin: 28px auto 0;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.gallery-more:hover { background: transparent; color: var(--ink); }
.gallery-more:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery-more[hidden] { display: none; }
.gallery-item img { cursor: zoom-in; }
.gallery-item img:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  padding: 56px 24px 24px;
  border: 0;
  background: rgba(18, 16, 14, .94);
  color: white;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-lightbox[open] { display: flex; }
.gallery-lightbox::backdrop { background: transparent; }
.gallery-lightbox-image { display: block; max-width: min(94vw, 1500px); max-height: 88vh; object-fit: contain; }
  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 64px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 28px;
    background: rgba(18,16,14,.35);
    color: white;
    font: 52px/1 Arial, sans-serif;
    cursor: pointer;
  }
  .gallery-lightbox-nav:hover { background: rgba(255,255,255,.14); }
  .gallery-lightbox-nav[hidden] { display: none; }
  .gallery-lightbox-previous { left: 20px; }
  .gallery-lightbox-next { right: 20px; }
.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  background: transparent;
  color: white;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,.14); }
  @media (max-width: 600px) {
    .gallery-lightbox { padding: 56px 58px 24px; }
    .gallery-lightbox-image { max-width: 100%; }
    .gallery-lightbox-nav { width: 42px; height: 54px; font-size: 44px; }
    .gallery-lightbox-previous { left: 8px; }
    .gallery-lightbox-next { right: 8px; }
  }

footer { display: flex; justify-content: space-between; gap: 18px; padding: 24px clamp(22px, 8vw, 120px); color: #77746d; font-size: 11px; letter-spacing: .04em; background: var(--paper); border-top: 1px solid var(--line); }

/* Mednarodne prilagoditve za zaslone (Media Queries) */
@media (max-width: 1100px) { 
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) { 
  .service-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
  .strip-item { min-width: 0; scroll-snap-align: start; }
  .topbar { align-items: center; flex-wrap: wrap; gap: 12px 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding: 9px 15px; border: 1px solid #987044; border-radius: 999px; background: #987044; color: #fffefa; font: 600 14px/1.4 "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
  .menu-toggle:hover, .menu-toggle:focus-visible { border-color: #76542f; background: #76542f; }
  .topbar nav { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .topbar nav.is-open { display: flex; }
  .topbar nav > a, .topbar nav .dropdown > summary { display: block; padding: 12px 4px; }
  .topbar nav .dropdown { width: 100%; }
  .topbar nav .dropdown-content { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .topbar nav .dropdown[open] > .dropdown-content { display: block; }
  .feature { grid-template-columns: 1fr; }
  .feature-image { min-height: 300px; }
}

@media (max-width: 480px) {
  .contact-strip-inner { justify-content: center; gap: 10px 16px; padding-inline: 12px; font-size: 10px; }
}

@media (max-width: 768px) { 
  .services { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  footer { display: block; text-align: center; }
}

@media (max-width: 480px) {
  .hero .button-group .button { width: 100%; }
  .hero .button-separator { display: none; }
}

.hero.hero-talne-oznacbe { background-image: url("images/talne-oznacbe-galerija/talne-oznacbe-projekt-2.webp"); background-position: center center; }
.certificate-link { display:block; width:min(100%, 320px); margin:18px auto 0; border:1px solid var(--line); background:var(--white); padding:8px; }
.certificate-link img { display:block; width:100%; height:auto; }

.certificate-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:16px; margin-top:20px; }
.certificate-item { min-width:0; margin:0; text-align:center; color:var(--muted); font-size:12px; line-height:1.45; }
.certificate-link { display:block; width:100%; margin:0 0 9px; border:1px solid var(--line); background:var(--white); padding:6px; cursor:zoom-in; }
.certificate-link img { display:block; width:100%; height:auto; }
.certificate-link:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }

/* Usklajeni uvodni sklopi na strani obnove štukatur */
.restoration-page .restoration-overview { padding-top: clamp(68px, 8vw, 100px); padding-bottom: clamp(68px, 8vw, 100px); }
.restoration-page .restoration-overview .section-head { max-width: 760px; margin-bottom: 38px; }
.restoration-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.restoration-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.restoration-number { margin-bottom: 20px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.restoration-card h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; line-height: 1.2; }
.restoration-card p { margin: 0; color: var(--muted); font-size: 14px; }
.restoration-card > a { margin-top: auto; padding-top: 22px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.restoration-card > a:hover { color: var(--ink); }

/* Igrica za izbiro barvnega odtenka v blogu */
.blog-article { max-width: 920px; margin: 0 auto; }
.blog-article .eyebrow { color: var(--accent); }
.blog-article h2 { margin-bottom: 18px; }
.blog-article p, .blog-article li { color: var(--muted); }
.blog-story { max-width: 760px; margin: 0 auto; }
.blog-story h3 { margin: 34px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; }
.blog-index { max-width: 1040px; margin: 0 auto; }
.blog-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.blog-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; background: var(--white); }
.blog-card-meta { margin-bottom: 14px; color: #805a31; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.blog-card h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.2; }
.blog-card > p { max-width: 720px; color: var(--muted); }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.blog-card-tags span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; }
.blog-story-disclosure { margin-top: 4px; }
.blog-story-disclosure > summary { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid #b38a5b; border-radius: 999px; background: #b38a5b; color: #fffefa; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.blog-story-disclosure > summary::-webkit-details-marker { display: none; }
.blog-story-disclosure > summary::after { content: "+"; font-size: 18px; line-height: 1; }
.blog-story-disclosure[open] > summary::after { content: "−"; }
.blog-story-disclosure > summary:hover { border-color: #9d7748; background: #9d7748; }
.blog-story-disclosure > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.blog-expanded-story { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-expanded-story h4 { margin: 26px 0 8px; font: 400 22px/1.25 Georgia, "Times New Roman", serif; color: var(--ink); }
.blog-expanded-story p { max-width: 760px; color: var(--muted); }
.blog-story-close { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #805a31; font: 600 12px/1.4 "Helvetica Neue", Arial, sans-serif; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.blog-story-close:hover, .blog-story-close:focus-visible { border-color: #b38a5b; background: #f6f0e7; }
.blog-story-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.paint-game { max-width: 980px; margin: 55px auto 0; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); background: var(--white); }
.paint-game-head { max-width: 700px; margin: 0 auto 25px; text-align: center; }
.paint-game-head .eyebrow { color: var(--accent); }
.paint-game-head h2 { font-size: clamp(28px, 3.8vw, 42px); }
.paint-room { display: grid; grid-template-columns: 1fr 1fr; min-height: 250px; overflow: hidden; border: 1px solid rgba(38,38,34,.18); background: #eee9df; }
.paint-wall { position: relative; display: grid; place-items: center; min-width: 0; padding: 24px; color: #403c35; text-align: center; background: #eee9df; }
.paint-wall + .paint-wall { border-left: 4px solid #fffefa; }
#paint-canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.paint-wall.is-painting #paint-canvas { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 27 8 20 23 5a3 3 0 0 1 4 4L12 24z' fill='%23b38a5b' stroke='%23262622' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m5 27 3-7 5 5z' fill='%23e5cda9' stroke='%23262622' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 5 27, crosshair; }
.paint-wall-label { position: relative; z-index: 2; padding: 8px 12px; background: rgba(255,254,250,.84); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.paint-star { position: absolute; z-index: 3; top: 50%; left: 50%; color: #d4af37; font-size: clamp(64px, 11vw, 112px); line-height: 1; text-shadow: 0 3px 12px rgba(56, 39, 5, .42), 0 0 2px #fff6cc; transform: translate(-50%, -50%); animation: paint-star-pop .45s cubic-bezier(.2, .8, .2, 1.2); pointer-events: none; }
.paint-star[hidden] { display: none; }
@keyframes paint-star-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.25) rotate(-25deg); } to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); } }
.paint-game-controls { display: grid; gap: 20px; margin-top: 22px; }
.paint-palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.paint-swatch { width: 42px; height: 42px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.paint-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
.paint-swatch:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.paint-game-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.paint-game-actions .button { cursor: pointer; font-family: inherit; }
.paint-game-actions .button.outline { color: var(--ink); background: transparent; border-color: var(--line); }
.paint-game-actions .button.outline:hover { background: var(--paper); border-color: var(--ink); }
.paint-game-result { min-height: 28px; margin: 0; color: var(--ink); text-align: center; font-size: 14px; }
@media (max-width: 540px) {
  .paint-room { min-height: 190px; }
  .paint-wall { padding: 12px; }
  .paint-wall-label { font-size: 10px; }
  .paint-swatch { width: 36px; height: 36px; }
}

@media (max-width: 1000px) {
  .restoration-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .restoration-services { grid-template-columns: 1fr; }
  .restoration-card { min-height: 0; }
}
