/* =========================================================
   Hosanna Print — style.css
   Farby a typografia podľa Brand Guidelines v1.0 (2026)
   Fonty: Bespoke Serif (Fontshare) · DM Sans (Google Fonts)
   ========================================================= */

:root {
  --sage: #798C7D;
  --forest: #2A3A30;
  --ink: #16201A;
  --ochre: #B58A52;
  --light-sage: #EBEFE7;
  --cream: #F6F1E7;
  --warm-grey: #8C8880;
  --muted: #5E6A60;
  --body: #4A554C;
  --border: #E1DCD0;
  --serif: "Bespoke Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shell: 1120px;
  --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ochre); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--forest); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--light-sage);
  padding: 12px 18px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease, color .3s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--forest);
  color: var(--light-sage);
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(42, 58, 48, .18);
}
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--ochre { background: var(--ochre); color: #fff; }
.btn--ochre:hover, .btn--ochre:focus-visible { background: #CDA063; color: var(--ink); box-shadow: 0 12px 28px rgba(22, 32, 26, .32); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, .72);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled {
  background: rgba(246, 241, 231, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(22, 32, 26, .07), 0 8px 24px rgba(22, 32, 26, .06);
}
.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.nav__logo { width: 30px; height: 30px; transition: transform .4s ease; }
.nav__brand:hover .nav__logo { transform: rotate(7deg); }
.nav__name { font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link {
  position: relative;
  color: var(--body);
  font-size: 14.5px;
  text-decoration: none;
  padding-bottom: 3px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--ink); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(168deg, var(--cream) 0%, #F2F0E6 55%, var(--light-sage) 100%);
  padding: 128px var(--pad) 136px;
}
.hero__inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero__logo {
  width: 88px;
  height: 88px;
  transition: transform .4s ease;
}
.hero__logo:hover { transform: rotate(7deg); }
.hero__name { font-size: clamp(40px, 7vw, 66px); line-height: 1.02; letter-spacing: -0.03em; }
.hero__tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  color: var(--muted);
  line-height: 1.25;
}
.hero__sub {
  margin: 0;
  max-width: 46ch;
  color: var(--body);
  font-size: 17px;
}
.hero__meta {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Section heads ---------- */

.section-head { max-width: 46ch; margin-bottom: 52px; }
.section-head__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head__title { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
.section-head--light .section-head__title { color: var(--ink); }
.section-head--light .section-head__eyebrow { color: #75561F; }

/* ---------- About ---------- */

.about { background: var(--forest); padding: 104px var(--pad); }
.about__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #AFC0AF;
}
.about__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--light-sage);
}

/* ---------- Services ---------- */

.services { background: var(--cream); padding: 104px var(--pad); }
.services__inner { max-width: var(--shell); margin: 0 auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px 36px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 32, 26, .09);
  border-color: #D6D3C6;
}
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--light-sage);
  color: var(--sage);
  margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; }
.card__title { font-size: 25px; margin-bottom: 18px; }
.card__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.5;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--sage);
}

/* ---------- Steps ---------- */

.steps {
  background: linear-gradient(178deg, #EFE7DA 0%, #E9E3D4 100%);
  padding: 104px var(--pad) 112px;
}
.steps__inner { max-width: var(--shell); margin: 0 auto; }

.steps__track { position: relative; padding-left: 78px; }
.steps__rail {
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(22, 32, 26, .12);
  border-radius: 2px;
  overflow: hidden;
}
.steps__railFill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--sage) 0%, var(--ochre) 100%);
  transition: height .12s linear;
}

.steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 56px;
  align-items: start;
}
.step__body { min-width: 0; }
.step__media { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.step__frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 32, 26, .14);
  background-color: #FBF7EF;
  background-image: repeating-linear-gradient(135deg, rgba(121, 140, 125, .12) 0 1px, transparent 1px 10px);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step__frame img { width: 100%; height: 100%; object-fit: cover; }
.step.is-active .step__frame {
  border-color: rgba(181, 138, 82, .55);
  box-shadow: 0 14px 30px rgba(22, 32, 26, .10);
}
.step__caption {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.step__num {
  position: absolute;
  left: -78px;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FBF7EF;
  border: 1px solid rgba(22, 32, 26, .14);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color .45s ease, border-color .45s ease, background-color .45s ease, transform .45s ease;
}
.step__text {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  transition: color .45s ease;
}
.step__desc {
  margin: 0;
  max-width: 56ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--body);
  transition: color .45s ease;
}

.step.is-active .step__num {
  color: #FFFFFF;
  background: var(--ochre);
  border-color: var(--ochre);
  transform: scale(1.04);
}


/* ---------- Gallery ---------- */

.gallery { padding: 104px var(--pad); background: var(--light-sage); }
.gallery__inner { max-width: var(--shell); margin: 0 auto; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.shot { margin: 0; }
.shot__frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid #DCE1D6;
  background-color: #F1F4EE;
  background-image: repeating-linear-gradient(135deg, rgba(121, 140, 125, .10) 0 1px, transparent 1px 9px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover .shot__frame {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 32, 26, .09);
}
.shot__caption {
  margin: 14px 2px 0;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

/* ---------- Contact ---------- */

.contact { background: var(--forest); color: var(--light-sage); }
.contact__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 104px var(--pad) 88px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact .section-head__eyebrow { color: #AFC0AF; }
.contact__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  color: var(--light-sage);
  margin-bottom: 18px;
}
.contact__note { margin: 0 0 30px; max-width: 42ch; color: #C3CDBE; }

.details { margin: 0; display: grid; gap: 4px; }
.details__label {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 22px;
}
.details__label:first-of-type { margin-top: 0; }
.details__value {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--light-sage);
  letter-spacing: -0.01em;
}
.details__value a { color: inherit; text-decoration: none; transition: color .2s ease; }
.details__value a:hover { color: var(--ochre); }

.social { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.social__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #C3CDBE;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
  transform-origin: left center;
}
.social__link:hover, .social__link:focus-visible { color: var(--sage); transform: scale(1.1); }
.social__icon { width: 21px; height: 21px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid rgba(235, 239, 231, .14); }
.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px var(--pad) 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--light-sage);
  font-family: var(--serif);
  font-size: 17px;
  text-decoration: none;
}
.footer__logo { width: 26px; height: 26px; filter: brightness(0) invert(1); opacity: .85; }
.footer__copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7B8A7E;
}

/* ---------- Reveal (Intersection Observer) ---------- */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .steps__track { padding-left: 56px; }
  .steps__rail { left: 19px; }
  .steps__list { gap: 56px; }
  .step { grid-template-columns: 1fr; gap: 22px; }
  .step__media { max-width: 320px; }
  .step__num { left: -56px; width: 40px; height: 40px; font-size: 14px; }
  .nav__links { display: none; }
  .hero { padding: 84px var(--pad) 92px; }
  .about, .steps, .gallery { padding: 76px var(--pad); }
  .services { padding: 76px var(--pad); }
  .contact__inner { padding: 76px var(--pad) 64px; }
  .section-head { margin-bottom: 36px; }
  .card { padding: 28px 26px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
