/* ===== Reset & Tokens ===== */
:root {
  --black: #0e0e0e;
  --ink: #141414;
  --muted: #6c6c6c;
  --muted-2: #9a9a9a;
  --red: #e8312a;
  --white: #ffffff;
  --bg-alt: #f3f3f3;
  --line: #e6e6e6;
  --line-dark: rgba(255,255,255,.12);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

h1, h2, h3, h4, h5 { font-family: 'Oswald', sans-serif; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: all .2s ease;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.btn-arrow span { font-size: 16px; transition: transform .2s; }
.btn-arrow:hover span { transform: translateX(4px); }

/* ===== Eyebrow / headings ===== */
.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head h2,
.about-text h2,
.work-head h2,
.contact h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.05;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  transition: gap .2s;
}
.link-more:hover { gap: 14px; }
.link-more span { font-size: 15px; }

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--ink);
  text-transform: uppercase;
}
.logo span { color: var(--red); }
.logo.logo-light { color: #fff; }
.logo.logo-light span { color: var(--red); }
.logo-img { height: 56px; width: auto; display: block; }
.footer-brand .logo-img { height: 42px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.main-nav { position: relative; display: flex; gap: 40px; margin-left: auto; }
.main-nav a {
  position: relative;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2a2a2a;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { color: var(--ink); }
.nav-indicator {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: left .32s cubic-bezier(.4,0,.2,1), width .32s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.burger { display: none; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: flex;
  align-items: center;
  min-height: 560px;
}
.hero-text { position: relative; z-index: 2; max-width: 470px; }
.hero-text h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-text h1 .accent { color: var(--red); }
.hero-sub {
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 17px;
}
/* photo bleeds to the right edge and feathers into white on the left */
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 63%;
  z-index: 1;
  background: url('assets/hero-bg.jpg') center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 16%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 16%, #000 34%);
}

/* ===== Services ===== */
.services { padding: 30px 0 80px; }
.services-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-icon { color: var(--ink); margin-bottom: 18px; }
.service-icon svg { width: 34px; height: 34px; }
.service h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.service p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ===== Service modal ===== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}
.service-modal[hidden] { display: none; }
.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.service-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  animation: modal-in .28s ease;
}
.service-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(22px, 4vw, 36px) 14px;
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.service-modal-header-text { flex: 1; }
.service-modal-body {
  overflow-y: auto;
  padding: clamp(22px, 4vw, 36px);
  flex: 1;
  background: var(--white);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.service-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}
.service-modal-close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.service-modal-eyebrow { margin-bottom: 4px; }
.service-modal-dialog h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}
.service-modal-lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.service-modal-section { margin-bottom: 28px; }
.service-modal-section h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-modal-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.service-modal-steps {
  list-style: none;
  padding-left: 0;
  color: var(--muted);
  font-size: 14px;
}
.service-modal-steps li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.service-modal-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.service-modal-steps li:last-child { margin-bottom: 0; }
.service-modal-price-value {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: 6px;
}
.service-modal-price-note {
  color: var(--muted-2);
  font-size: 13px;
}
.service-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-modal-gallery figure {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  margin: 0;
}
.service-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.service-modal-gallery figure:hover img { transform: scale(1.05); }
.service-modal-cta {
  position: sticky;
  bottom: 0;
  width: 100%;
  margin-top: 8px;
  background: var(--white);
  padding: 14px 0 6px;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 20px rgba(255,255,255,.95);
}
.service-modal-gallery figure { position: relative; }
.ba-label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  background: var(--ink);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

/* black rectangular "Klikni pro více informací" button */
.btn-info {
  display: inline-block;
  margin-top: 18px;
  background: var(--ink);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-info:hover { background: #000; transform: translateY(-2px); }

@media (max-width: 520px) {
  .service-modal-gallery { grid-template-columns: 1fr; }
  .service-modal-dialog h3 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-modal-dialog { animation: none; }
  .service-modal-gallery img { transition: none; }
}

/* ===== About ===== */
.about { background: var(--bg-alt); padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 { margin-bottom: 22px; }
.about-p { color: var(--muted); font-size: 15px; margin-bottom: 30px; max-width: 360px; }
.about-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.about-images figure { overflow: hidden; border-radius: 4px; height: 300px; }
.about-images img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.15) brightness(.95);
  transition: transform .4s ease;
}
.about-images figure:hover img { transform: scale(1.06); }

/* ===== Work / Realizace ===== */
.work { padding: 80px 0 90px; }
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.project figure { overflow: hidden; border-radius: 4px; height: 220px; margin-bottom: 16px; }
.project img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.project:hover img { transform: scale(1.07); }
.project-contain figure { background: #0f0f0f; }
.project-contain img { object-fit: contain; }
.project h4 {
  font-size: 16px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}
.project .tag {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  font-family: 'Oswald', sans-serif;
}

/* ===== Contact ===== */
.contact { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 84px 0 100px; }
.contact-lead { color: var(--muted); margin-top: 12px; max-width: 520px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

/* left: "cesta" / journey with numbered circles */
.contact-steps { position: relative; }
.step { position: relative; display: flex; gap: 22px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(232,49,42,.15));
}
.step:last-child::before { display: none; }
.step-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  border: 4px solid var(--bg-alt);
  box-shadow: 0 0 0 1px var(--line);
}
.step:first-child .step-num { background: var(--red); }
.step-body { padding-top: 6px; }
.step-body h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.step-body p { color: var(--muted); font-size: 14px; max-width: 340px; }

/* right: form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0,0,0,.06);
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #333; margin-bottom: 9px; font-weight: 600;
}
.field input, .field select, .field textarea {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 3px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(232,49,42,.12);
}
.field select {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e8312a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-status { margin-top: 16px; color: var(--red); font-weight: 600; }

/* ===== Scroll reveal ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.js .reveal.reveal-left { transform: translateX(-46px); }
.js .reveal.reveal-right { transform: translateX(46px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* staggers */
.js .services-grid .service.reveal:nth-child(3) { transition-delay: .1s; }
.js .services-grid .service.reveal:nth-child(4) { transition-delay: .2s; }
.js .work-grid .project.reveal:nth-child(2) { transition-delay: .08s; }
.js .work-grid .project.reveal:nth-child(3) { transition-delay: .16s; }
.js .work-grid .project.reveal:nth-child(4) { transition-delay: .24s; }
.js .contact-steps .step.reveal:nth-child(2) { transition-delay: .12s; }
.js .contact-steps .step.reveal:nth-child(3) { transition-delay: .24s; }
.js .contact-steps .step.reveal:nth-child(4) { transition-delay: .36s; }
.js .contact-form-wrap.reveal { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ===== Footer ===== */
.site-footer { background: var(--black); color: #cfcfcf; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 40px;
  padding: 60px clamp(20px, 4vw, 64px);
}
.footer-tagline {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
  font-size: 13px;
  color: #8a8a8a;
  margin: 14px 0 22px;
}
.footer-tagline i { color: var(--red); font-style: normal; margin: 0 4px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: #cfcfcf;
  transition: all .2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-col h5 {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; font-weight: 600;
}
.footer-col a, .footer-col p {
  display: flex; align-items: center; gap: 10px;
  color: #9a9a9a; font-size: 14px; margin-bottom: 12px;
}
.footer-col a:hover { color: #fff; }
.footer-col .ic svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero-grid { min-height: auto; padding: 40px 0 30px; }
  .hero-text { max-width: none; }
  .hero-text h1 { font-size: 56px; }
  .hero-photo {
    position: static;
    width: 100%;
    height: 320px;
    margin-top: 30px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .main-nav { display: none; }
  .nav-indicator { display: none; }
  .burger { display: block; }
  .hero-text h1 { font-size: 46px; }
  .section-head h2, .about-text h2, .work-head h2, .contact h2 { font-size: 32px; }
}
@media (max-width: 520px) {
  .services-grid, .work-grid, .about-images, .contact-form, .footer-grid { grid-template-columns: 1fr; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
