:root {
  --ink: #1e2022;
  --coal: #2e3438;
  --text: #3a4045;
  --muted: #6b7378;
  --line: #dde2df;
  --paper: #f8f7f3;
  --mist: #eef1ed;
  --sage: #7c8a80;
  --olive: #4f5b50;
  --gold: #b08a54;
  --warm: #f2ede4;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 22, 24, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

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

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

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(30, 32, 34, 0.65), rgba(30, 32, 34, 0));
}

.site-header.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.16em;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: currentColor;
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 3px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
}

.language-switch a {
  min-width: 34px;
  border-radius: 999px;
  padding: 5px 8px;
  text-align: center;
  opacity: 0.72;
}

.language-switch a.active {
  color: var(--ink);
  background: var(--white);
  opacity: 1;
}

.site-header.solid .language-switch {
  border-color: var(--line);
}

.site-header.solid .language-switch a.active {
  color: var(--white);
  background: var(--ink);
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 20;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(20, 22, 24, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(20, 22, 24, 0.12);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
  backdrop-filter: blur(14px);
}

.is-scrolled .back-to-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--white);
  background: var(--ink);
}

/* HERO – elegantní tmavě šedohnědý, méně černý */
.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 88svh;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 80px) 54px;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 22%, rgba(176, 138, 84, 0.22), transparent 36%),
    linear-gradient(90deg, rgba(42, 46, 50, 0.88), rgba(42, 46, 50, 0.72) 36%, rgba(42, 46, 50, 0.36) 60%, rgba(42, 46, 50, 0.06)),
    #3a3e44;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

/* Ateliérová fotka jako hlavní hero (portrait) */
.hero::before {
  left: auto;
  width: min(62vw, 940px);
  background: url("assets/ivana-zilincikova-portrait.jpg") center 18% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 10%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 10%, #000 30%);
  opacity: 0.88;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(42, 46, 50, 0.88), rgba(42, 46, 50, 0.80) 28%, rgba(42, 46, 50, 0.54) 42%, rgba(42, 46, 50, 0.22) 62%, rgba(42, 46, 50, 0.04) 82%),
    linear-gradient(0deg, rgba(42, 46, 50, 0.44), transparent 44%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(800px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 500;
  line-height: 0.96;
}

.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.8vw, 21px);
  text-align: justify;
}

.hero-lede--welcome {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 750;
}

.button.primary {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 70px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 13px;
}

.hero-facts span {
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  padding: 12px 36px 0 0;
}

/* LAYOUT HELPERS */
.section,
.profile,
.intro-profile,
.contact-band,
.legal-content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* INTRO-PROFILE – fotka + bio vedle sebe */
.intro-profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.intro-profile .profile-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--mist);
}

.intro-profile .profile-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
}

.intro-profile .profile-copy p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text);
  text-align: justify;
}

.intro-profile h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.10;
}

/* SERVICES */
.services {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: 40px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 276px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.54);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease;
}

.service-grid article:hover {
  background: var(--white);
}

.service-number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin: 26px 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.service-grid p,
.timeline p,
.profile-copy p,
.contact-band p,
.legal-content p {
  margin: 0;
  color: var(--muted);
}

/* PROFILE LIST */
.profile-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-list dt {
  color: var(--ink);
  font-weight: 800;
}

.profile-list dd {
  margin: 0;
  color: var(--muted);
}

/* LOGA KOMOR */
.bar-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  /* Světlý podklad nutný pro mix-blend-mode: multiply */
  background: rgba(240, 236, 228, 0.96);
  border-radius: 6px;
}

.bar-logo {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.bar-logo + .bar-logo {
  border-left: 1px solid rgba(0, 0, 0, 0.10);
}

.bar-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar-logo-wrap img {
  max-width: 140px;
  max-height: 56px;
  width: 100%;
  object-fit: contain;
  /* Odstraní bílé pozadí loga splýváním s podkladem */
  mix-blend-mode: multiply;
  filter: saturate(0.9);
  transition: filter 200ms ease;
}

.bar-logo-wrap img:hover {
  filter: saturate(1.1);
}

/* KONTAKT */
.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 34px;
  margin-bottom: 24px;
  padding: clamp(36px, 6vw, 68px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(176, 138, 84, 0.10) 50%, rgba(30, 32, 34, 0.14)),
    var(--coal);
  border-radius: 8px;
}

.contact-band h2,
.contact-band .eyebrow {
  color: var(--white);
}

.contact-band p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.80);
  text-align: justify;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  font-style: normal;
}

.contact-details a,
.contact-details span {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.contact-details a {
  overflow-wrap: anywhere;
}

/* FORM */
.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--ink);
  background: rgba(248, 247, 243, 0.97);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label > span {
  color: #5f5b53;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 18px) 21px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 12px) 21px / 6px 6px no-repeat,
    var(--white);
  overflow: hidden;
  padding-right: 34px;
  text-overflow: ellipsis;
}

.contact-form textarea {
  height: auto;
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(176, 138, 84, 0.38);
  outline-offset: 2px;
  border-color: var(--gold);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--gold);
}

.consent span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.consent a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(176, 138, 84, 0.65);
  text-underline-offset: 3px;
}

.form-submit {
  width: fit-content;
  border-color: var(--gold);
  cursor: pointer;
}

.form-status {
  margin: 0;
  border: 1px solid rgba(79, 91, 80, 0.25);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--olive);
  background: rgba(124, 138, 128, 0.10);
  font-size: 14px;
  font-weight: 750;
}

.form-status.is-error {
  border-color: rgba(176, 138, 84, 0.38);
  color: #7a4a24;
  background: rgba(176, 138, 84, 0.12);
}

/* FOOTER */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

/* LEGAL PAGE */
.legal-page {
  background: var(--paper);
}

.legal-content {
  padding: 84px 0 70px;
}

.legal-content h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
}

.legal-lede {
  max-width: 820px;
  margin-top: 24px;
  font-size: 20px;
}

.legal-content section {
  max-width: 860px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content section:first-of-type {
  margin-top: 48px;
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content a {
  color: var(--olive);
  font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 84svh;
  }

  .hero::before {
    width: min(76vw, 740px);
    background-position: 60% 14%;
  }

  .section-heading,
  .intro-profile,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-logos {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 112px 20px 40px;
  }

  .hero::before {
    width: 100%;
    background-position: 68% 14%;
    opacity: 0.60;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(42, 46, 50, 0.92), rgba(42, 46, 50, 0.72) 64%, rgba(42, 46, 50, 0.34)),
      linear-gradient(0deg, rgba(42, 46, 50, 0.62), transparent 46%);
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.58;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 52px);
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 46px;
  }

  .hero-facts span {
    padding-right: 14px;
  }

  .button {
    width: 100%;
  }

  .section,
  .intro-profile,
  .contact-band,
  .legal-content {
    width: min(100% - 32px, 1160px);
  }

  .intro-profile {
    gap: 30px;
    padding: 44px 0 58px;
  }

  .intro-profile .profile-image img {
    aspect-ratio: 4 / 5;
  }

  .intro-profile .profile-copy p,
  .section-heading p:not(.eyebrow),
  .contact-band p {
    text-align: left;
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
    padding: 24px;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-band {
    padding: 32px 20px 24px;
  }

  .contact-details {
    gap: 12px;
    margin-top: 30px;
  }

  .contact-details a,
  .contact-details span {
    padding-bottom: 12px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }

  .consent {
    grid-template-columns: 24px 1fr;
    align-items: start;
  }

  .consent input {
    width: 24px;
    height: 24px;
    min-height: 24px;
    margin-top: 1px;
  }

  .consent span {
    display: block;
    font-size: 14px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .bar-logos {
    flex-direction: column;
    gap: 0;
  }

  .bar-logo {
    width: 100%;
    border-left: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 10px;
  }

  .bar-logo:first-child {
    border-top: none;
  }

  .bar-logo-wrap img {
    max-width: 160px;
    max-height: 48px;
  }

  .site-footer {
    display: grid;
  }
}
