:root {
  --black: #0a0a0a;
  --black-2: #131111;
  --black-3: #1a1616;
  --red: #f0433d;
  --red-dark: #c62f2a;
  --white: #f5f2f1;
  --grey: #b8b0af;
  --border: #2a2424;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 800px; }

h2 { font-family: var(--font-head); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo-link { flex-shrink: 0; }

.logo { height: 32px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--red); }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--black);
  font-weight: 600;
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  border-color: var(--red);
  color: var(--white);
}
.btn-outline:hover { background: var(--red); color: var(--black); }

.btn-call {
  background: var(--red);
  color: var(--black);
  font-weight: 600;
  padding: 10px 20px;
  flex-shrink: 0;
}
.btn-call:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 64px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--black);
}

.hero-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo {
  width: min(420px, 70vw);
  height: auto;
}

.hero-tagline {
  font-size: 18px;
  color: var(--grey);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--black-2); }

.section-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin-top: 14px;
}

.section-sub {
  color: var(--grey);
  font-size: 16px;
  margin-bottom: 40px;
}

.lead {
  font-size: 19px;
  margin-bottom: 18px;
}

#o-nas p { color: #d8d3d2; }

/* ---------- Services ---------- */
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.services-grid li {
  background: var(--black-2);
  padding: 24px;
  font-family: var(--font-head);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}

.services-grid li:hover { background: var(--black-3); }

.service-num {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

/* ---------- Gallery (carousel) ---------- */
.carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid var(--border);
  cursor: pointer;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--border);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--black);
}

.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.carousel-counter {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--grey);
  min-width: 48px;
  text-align: center;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s;
}

a.contact-card:hover { border-color: var(--red); }

.contact-label {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.contact-value { font-size: 17px; }

.social-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--grey);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.social-links a:hover { color: var(--red); border-color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  height: 22px;
  margin: 0 auto 16px;
}

.footer-inner p {
  color: var(--grey);
  font-size: 14px;
}

.footer-copy { margin-top: 8px; opacity: 0.6; font-size: 12px; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 5, 0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  padding: 12px;
  transition: color 0.2s;
}
.lightbox-close:hover, .lightbox-nav:hover { color: var(--red); }

.lightbox-close { top: 16px; right: 24px; font-size: 36px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-2);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .header-call { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .section-title { font-size: 27px; }
  .hero { min-height: auto; padding: 48px 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
}
