:root {
  --accent: #d97706;
  --accent-dark: #b45309;
  --accent-light: #fef3c7;
  --text: #292524;
  --text-light: #57534e;
  --bg: #fafaf9;
  --bg-alt: #f5f5f4;
  --border: #e7e5e4;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1120px;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; font-weight: 500; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- Header --- */
.ct-header {
  position: sticky; top: 0; z-index: 100;
  background: #1c1917;
}
.ct-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  padding: 8px 24px;
  height: auto;
  min-height: 76px;
}
.ct-logo img { height: 120px; width: auto; }
.ct-nav { display: flex; gap: 24px; align-items: center; }
.ct-nav a {
  color: rgba(255,255,255,.65); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  transition: color .2s;
}
.ct-nav a:hover, .ct-nav a.active { color: var(--accent); }
.ct-nav .ct-phone {
  background: var(--accent); color: #1c1917 !important;
  padding: 6px 18px; border-radius: 999px;
  font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 14px;
  transition: background .2s;
}
.ct-nav .ct-phone:hover { background: var(--accent-dark); color: #fff !important; }

.ct-menu-toggle {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
}
.ct-menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,.7); border-radius: 2px;
}
.ct-offcanvas {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: 280px; background: #1c1917;
  box-shadow: -4px 0 30px rgba(0,0,0,.3);
  padding: 28px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s;
}
.ct-offcanvas.active { display: block; transform: translateX(0); }
.ct-offcanvas-overlay {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(0,0,0,.5);
}
.ct-offcanvas-overlay.active { display: block; }
.ct-offcanvas-close {
  background: none; border: none; font-size: 28px; cursor: pointer;
  float: right; line-height: 1; color: rgba(255,255,255,.5);
}
.ct-offcanvas-close:hover { color: #fff; }
.ct-offcanvas-nav { clear: both; padding-top: 16px; }
.ct-offcanvas-nav a {
  display: block; padding: 12px 0; color: rgba(255,255,255,.65);
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.ct-offcanvas-nav a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .ct-nav { display: none; }
  .ct-menu-toggle { display: flex; }
}
@media (min-width: 901px) {
  .ct-menu-toggle { display: none !important; }
}

/* --- Sections --- */
section { padding: 72px 0; text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  margin-bottom: 48px;
  text-align: center;
}
.section-title h2,
.section-title h3 {
  font-size: 30px; font-weight: 700; color: var(--text);
  line-height: 1.2;
}
.section-title p {
  font-size: 16px; color: var(--text-light);
  margin: 8px auto 0;
  max-width: 540px;
}

/* --- Hero --- */
.hero {
  position: relative; min-height: 440px;
  display: flex; align-items: center;
  background: #1c1917;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,.9) 40%, rgba(28,25,23,.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  width: 100%; text-align: center;
}
.hero h1 {
  font-size: 42px; font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 12px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 17px; color: #a8a29e;
  max-width: 540px; margin: 0 auto 28px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px;
  font-weight: 600; font-size: 14px; cursor: pointer;
  border: none; transition: all .2s; font-family: var(--font);
}
.btn-primary {
  background: var(--accent); color: #1c1917;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 768px) {
  .hero { min-height: 380px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
}

/* --- Services grid (2x2) --- */
#uslugi { background: var(--bg-alt); }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px; text-align: center;
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.service-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.5; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 20px; }
}

/* --- Benefits --- */
#benefits { padding: 64px 0; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 40px;
}
.benefit-item h4 {
  font-size: 16px; font-weight: 700; margin-bottom: 6px;
}
.benefit-item p {
  font-size: 14px; color: var(--text-light); line-height: 1.5;
  max-width: 280px; margin: 0 auto;
}
.benefit-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 20px; height: 20px; fill: #fff; }

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Gallery --- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-grid figure {
  overflow: hidden; border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.gallery-grid figure img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .4s;
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff; font-size: 12px; opacity: 0;
  transition: opacity .3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure img { height: 180px; }
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92); align-items: center;
  justify-content: center; cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 16px; right: 24px;
  color: #fff; font-size: 36px; cursor: pointer;
  background: none; border: none; line-height: 1;
}

/* --- CTA banner --- */
.cta-banner {
  background: #1c1917; padding: 48px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 26px; font-weight: 700; color: #fff;
  margin-bottom: 8px;
}
.cta-banner p {
  color: #a8a29e; font-size: 15px;
  margin-bottom: 24px;
}
.cta-banner .btn { font-size: 16px; padding: 14px 36px; }

/* --- Contact --- */
#kontakt { padding: 64px 0; }
.contact-stack {
  max-width: 640px; margin: 0 auto;
  text-align: center;
}
.contact-stack .cta-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 28px; font-weight: 700; color: var(--accent);
  margin: 20px 0;
  padding: 16px 32px;
  background: var(--accent-light);
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.contact-stack .cta-phone:hover {
  background: var(--accent); color: #fff;
}
.contact-stack p { color: var(--text-light); font-size: 14px; }

/* --- Footer --- */
.ct-footer {
  background: #1c1917; color: #57534e;
  padding: 24px 0; text-align: center; font-size: 13px;
}
.ct-footer a { color: var(--accent); }

/* --- Back to top --- */
.ct-back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); display: flex;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  box-shadow: 0 2px 12px rgba(217,119,6,.3);
}
.ct-back-to-top.visible { opacity: 1; visibility: visible; }

/* --- Cookie consent --- */
.cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: #1c1917; border-top: 1px solid var(--accent);
  padding: 14px 24px;
  display: none; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.cookie-notice.visible { display: flex; }
.cookie-notice p { font-size: 13px; color: #a8a29e; }
.cookie-notice .btn { padding: 6px 18px; font-size: 13px; }

/* --- Skip link --- */
.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 999;
  background: var(--accent); color: #1c1917; padding: 6px 14px;
  border-radius: 999px; font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .section-title h2,
  .section-title h3 { font-size: 24px; }
}
