/* Piecka.sk — spoločné štýly pre všetky stránky */
:root{
  --white:#FFFFFF;
  --paper:#F6F5F1;
  --ink:#1C1B19;
  --iron:#5B584F;
  --line:#E4E1D8;
  --ember:#C1440E;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  background:var(--paper); color:var(--ink);
  font-family:'IBM Plex Sans', sans-serif; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:'Space Grotesk', sans-serif; font-weight:600; letter-spacing:-0.01em; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
.wrap{ max-width:1040px; margin:0 auto; padding:0 28px; }
@media (max-width:600px){ .wrap{ padding:0 20px; } }

a:focus-visible, button:focus-visible, summary:focus-visible{ outline:2px solid var(--ember); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; animation:none !important; scroll-behavior:auto !important; } }

/* NAV */
header{
  position:sticky; top:0; z-index:40;
  background:rgba(246,245,241,0.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
nav.wrap{ height:72px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.15rem; display:flex; align-items:center; gap:9px; }
.brand-mark{ width:34px; height:auto; display:block; }
.nav-links{ display:flex; gap:30px; font-size:0.94rem; }
.nav-links a:hover{ color:var(--ember); }
@media (max-width:640px){
  .brand{ font-size:0.98rem; }
  .brand-text-long{ display:none; }
  .nav-links{ gap:16px; font-size:0.86rem; }
}

/* BREADCRUMB */
.breadcrumb{ padding-top:28px; font-size:0.85rem; color:var(--iron); }
.breadcrumb a{ text-decoration:underline; text-underline-offset:2px; }
.breadcrumb a:hover{ color:var(--ember); }
.breadcrumb span{ margin:0 6px; }

/* HERO */
.hero{ padding:72px 0 64px; }
.hero.sub{ padding:36px 0 56px; }
.hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; }
@media (max-width:820px){ .hero-grid{ grid-template-columns:1fr; } }
.hero-eyebrow{ font-size:0.88rem; color:var(--ember); font-weight:500; margin-bottom:16px; }
.hero h1{ font-size:clamp(2rem,4.4vw,2.9rem); line-height:1.12; max-width:16ch; }
.hero p{ margin-top:20px; color:var(--iron); max-width:46ch; font-size:1.05rem; }
.hero-links a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--ember); text-underline-offset:3px; }
.hero-links a:hover{ color:var(--ember); }
.hero-actions{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-block; padding:14px 24px; border-radius:3px; font-size:0.94rem; font-weight:500;
  border:1px solid var(--ink); transition:background .15s,color .15s,border-color .15s;
}
.btn-primary{ background:var(--ink); color:var(--white); }
.btn-primary:hover{ background:var(--ember); border-color:var(--ember); }
.btn-ghost{ border-color:var(--iron); }
.btn-ghost:hover{ border-color:var(--ink); }
.hero-photo{
  aspect-ratio:4/5; background:var(--white); border:1px solid var(--line); border-radius:4px; overflow:hidden;
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; }

/* SECTIONS */
section{ padding:72px 0; }
@media (max-width:600px){ section{ padding:52px 0; } }
.section-head{ margin-bottom:36px; max-width:640px; }
.section-head h2{ font-size:clamp(1.6rem,3vw,2rem); }
.section-head p{ margin-top:12px; color:var(--iron); }
.band{ background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* TEXT CONTENT */
.prose{ max-width:68ch; }
.prose h2{ font-size:clamp(1.4rem,2.6vw,1.75rem); margin:48px 0 14px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--iron); margin-bottom:16px; }
.prose ul, .prose ol{ color:var(--iron); margin:0 0 16px 1.2em; }
.prose li{ margin-bottom:8px; padding-left:4px; }
.prose li b{ color:var(--ink); font-weight:600; }
.prose a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--ember); text-underline-offset:3px; }
.prose a:hover{ color:var(--ember); }

/* SERVICE CARDS */
.cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:20px; }
.card{
  background:var(--white); border:1px solid var(--line); border-radius:4px; overflow:hidden;
  display:flex; flex-direction:column; transition:border-color .15s, transform .15s;
}
.card:hover{ border-color:var(--ember); transform:translateY(-2px); }
.card-img{ aspect-ratio:4/3; overflow:hidden; background:var(--paper); }
.card-img img{ width:100%; height:100%; object-fit:cover; }
.card-body{ padding:16px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.card-body h3{ font-size:1.08rem; line-height:1.25; }
.card-body p{ font-size:0.9rem; color:var(--iron); flex:1; }
.card-more{ font-size:0.86rem; color:var(--ember); font-weight:500; }

/* STEPS */
.steps{ list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:28px; counter-reset:step; }
.steps li{ counter-increment:step; border-top:1px solid var(--line); padding-top:16px; }
.steps li::before{ content:counter(step,decimal-leading-zero); display:block; font-family:'Space Grotesk',sans-serif; color:var(--ember); font-weight:600; margin-bottom:6px; }
.steps b{ display:block; font-family:'Space Grotesk',sans-serif; font-size:1.05rem; margin-bottom:4px; }
.steps span{ font-size:0.92rem; color:var(--iron); }

/* FAQ */
.faq{ max-width:760px; }
.faq details{ border-top:1px solid var(--line); padding:18px 0; }
.faq details:last-child{ border-bottom:1px solid var(--line); }
.faq summary{ cursor:pointer; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:1.05rem; list-style:none; display:flex; justify-content:space-between; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; color:var(--ember); font-size:1.3rem; line-height:1; }
.faq details[open] summary::after{ content:'−'; }
.faq details p{ margin-top:10px; color:var(--iron); max-width:65ch; }
.faq details a{ text-decoration:underline; text-decoration-color:var(--ember); text-underline-offset:3px; }

/* CTA */
.cta{
  margin-top:48px; padding:28px 30px; background:var(--white); border:1px solid var(--line); border-left:3px solid var(--ember);
  border-radius:4px; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
}
.cta p{ max-width:52ch; color:var(--iron); }
.cta b{ display:block; color:var(--ink); font-family:'Space Grotesk',sans-serif; font-size:1.15rem; margin-bottom:4px; }

/* ABOUT */
.about-grid{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:48px; align-items:start; }
@media (max-width:820px){ .about-grid{ grid-template-columns:1fr; } }
.about-grid p{ color:var(--iron); margin-bottom:16px; max-width:60ch; }
.about-facts{ display:flex; gap:36px; flex-wrap:wrap; margin-top:28px; }
.about-facts b{ display:block; font-family:'Space Grotesk',sans-serif; font-size:1.3rem; }
.about-facts span{ font-size:0.85rem; color:var(--iron); }
.media-links{ margin-top:36px; border-top:1px solid var(--line); padding-top:24px; }
.media-links h3{ font-size:1rem; margin-bottom:14px; }
.media-links ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.media-links li{ border-top:1px solid var(--line); padding-top:10px; }
.media-links li:first-child{ border-top:none; padding-top:0; }
.media-links a{ font-size:0.95rem; }
.media-links a:hover{ color:var(--ember); }

/* GALLERY */
.grid-photos{ display:flex; flex-wrap:wrap; gap:10px; }
@media (max-width:760px){ .grid-photos{ gap:6px; } }
.photo{ height:230px; border-radius:3px; overflow:hidden; cursor:pointer; transition:opacity .15s; padding:0; border:0; background:none; }
@media (max-width:760px){ .photo{ height:130px; } }
.photo:hover{ opacity:0.85; }
.photo img{ height:100%; width:auto; }

/* LIGHTBOX */
.lightbox{
  position:fixed; inset:0; background:rgba(28,27,25,0.94); display:none;
  align-items:center; justify-content:center; z-index:100; padding:24px;
}
.lightbox.open{ display:flex; }
.lightbox-inner{ max-width:900px; width:100%; text-align:center; position:relative; }
.lightbox-inner img{ max-width:100%; max-height:78vh; margin:0 auto; border-radius:3px; user-select:none; }
.lightbox-caption{ margin-top:16px; color:#D8D5CC; font-size:0.92rem; }
.lightbox-counter{ margin-top:4px; color:#8A867D; font-size:0.78rem; }
.lightbox-close{
  margin-top:18px; display:inline-block; padding:10px 20px; border:1px solid #A6A296;
  color:var(--white); border-radius:3px; font-size:0.88rem; cursor:pointer; background:none; font-family:inherit;
}
.lightbox-close:hover{ border-color:var(--white); }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%; border:1px solid #6E6A61;
  background:rgba(28,27,25,0.6); color:var(--white); font-size:1.3rem;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.lightbox-nav:hover{ border-color:var(--white); background:rgba(28,27,25,0.85); }
.lightbox-prev{ left:-58px; }
.lightbox-next{ right:-58px; }
@media (max-width:820px){ .lightbox-prev{ left:6px; } .lightbox-next{ right:6px; } }

/* CONTACT */
.contact{ background:var(--ink); color:var(--white); }
.contact .section-head h2{ color:var(--white); }
.contact .section-head p{ color:#ADA99F; }
.contact-list{ display:flex; flex-direction:column; gap:18px; max-width:420px; }
.contact-list div{ border-top:1px solid #37342E; padding-top:14px; }
.contact-list div:first-child{ border-top:none; padding-top:0; }
.contact-list span{ display:block; font-size:0.8rem; color:#ADA99F; }
.contact-list a:hover{ color:var(--ember); }

/* FOOTER */
footer{ padding:40px 0 28px; font-size:0.85rem; color:var(--iron); }
.footer-services{ display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; margin-bottom:20px; }
.footer-services a:hover{ color:var(--ember); }
.footer-copy{ text-align:center; font-size:0.8rem; }
