* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html, body { scroll-behavior: auto; } }
body { font-family: 'Inter', sans-serif; color: #333333; background: #ffffff; width: 100%; overflow-x: hidden; }
a { color: #1c2e4a; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #c0392b; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.nav.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.10); }

.nav-links-desktop, .nav-cta-desktop { display: flex; align-items: center; }
.nav-hamburger { display: none; }
.mobile-menu { display: none; }
.mobile-menu.is-open { display: flex; }

.nav-link:hover, .link-accent:hover { color: #c0392b; }

@media (max-width: 1020px) {
  .nav-links-desktop, .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; }
}

/* Buttons */
.btn-accent { transition: filter 0.2s ease; }
.btn-accent:hover { filter: brightness(0.88); }
.btn-outline { transition: background 0.2s ease; }
.btn-outline:hover { background: #f2f2f0; }
.btn-outline-light { transition: background 0.2s ease; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* Service cards */
.service-card { transition: all 0.3s ease; }
.service-card:hover {
  border-color: #1c2e4a;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* Photo placeholders (image-slot equivalents) */
.photo-slot { position: relative; overflow: hidden; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-caption {
  position: absolute; left: 8px; top: 8px; right: 8px;
  background: rgba(15,26,46,0.72); color: #ffffff;
  font-size: 11px; line-height: 1.3; padding: 5px 9px;
  border-radius: 5px; pointer-events: none;
}

/* Atelier mosaic */
.atelier-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 140px);
  gap: 8px;
}
.atelier-mosaic .photo-slot { border-radius: 8px; }
.atelier-photo-big { grid-column: 1; grid-row: 1 / 4; }

@media (max-width: 700px) {
  .atelier-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 200px); }
  .atelier-photo-big { grid-row: auto; }
}

/* Footer */
.footer-link:hover { color: #ffffff; }
.social-icon { transition: background 0.2s ease; }
.social-icon:hover { background: rgba(255,255,255,0.1); }

/* Sticky mobile CTA bar */
.sticky-bar { display: none; }

@media (max-width: 700px) {
  .sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    gap: 10px; background: #ffffff; border-top: 1px solid #e5e5e5;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  }
  body { padding-bottom: 78px; }
}

/* Contact form */
.form-success { display: none; }
.form-success.is-visible { display: flex; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 8px;
  font-size: 15px; font-family: 'Inter', sans-serif; color: #333333; background: #ffffff;
}
.contact-form textarea { resize: vertical; }
