:root {
  --text: #1b1b1b;
  --muted: #6f6774;
  --line: #ece6ef;
  --soft: #fcfbfd;
  --white: #fff;

  /* pastelové varianty barev podle loga INSPIRION */
  --purple: #d6b3ee;
  --mint: #bfeee1;
  --yellow: #f5efb3;

  /* jemnější tmavší a světlé varianty */
  --purple-deep: #8f77a8;
  --purple-soft: #fbf7fe;
  --mint-soft: #f5fffb;
  --yellow-soft: #fffdf3;

  --max-width: 1160px;
  --header-height: 124px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

#obory, #metody, #kontakt {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.98);
  border-top: 4px solid var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(
    90deg,
    var(--purple) 0 33.333%,
    var(--mint) 33.333% 66.666%,
    var(--yellow) 66.666% 100%
  );
}

.header-inner {
  width: min(calc(100% - 48px), 1320px);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-width: 365px;
  text-decoration: none;
}

.brand img {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  letter-spacing: .01em;
}

.brand-name span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .085em;
}

.brand-name strong {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 17px;
}

.main-nav a,
.languages a,
.languages span,
.cart-link {
  font-size: 11.5px;
}

.main-nav a,
.languages a,
.cart-link {
  text-decoration: none;
}

.main-nav a {
  position: relative;
  padding: 14px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 7px;
  height: 1px;
  background: var(--text);
  transition: right .18s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.languages {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.languages .active {
  color: var(--purple-deep);
  font-weight: 700;
}
.languages .divider { color: #c8c8c8; }

.cart-link {
  padding: 8px 10px;
  border: 1px solid #e8dced;
  border-radius: 999px;
  background: var(--purple-soft);
}
.cart-link:hover {
  border-color: #d9ece4;
  background: var(--mint-soft);
}

.menu-button {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button > span:not(.sr-only) {
  display: block;
  width: 22px; height: 1px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  min-height: 470px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, #ffffff 0%, #ffffff 64%, #faf7ff 100%);
}
.hero-inner {
  padding-top: 58px;
  padding-bottom: 62px;
}

.kicker {
  margin: 0 0 13px;
  color: var(--purple-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 4.35vw, 58px);
  line-height: 1.035;
  letter-spacing: -.04em;
  font-weight: 500;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: #404040;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.button-primary {
  color: var(--white);
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}
.button-primary:hover {
  color: var(--text);
  background: var(--yellow);
  border-color: var(--yellow);
}
.button-secondary {
  background: var(--white);
  border-color: #ded1e6;
}
.button-secondary:hover {
  background: var(--purple-soft);
  border-color: #d7c1e4;
}

.section {
  padding: 68px 0;
  border-bottom: 1px solid var(--line);
}
.section-soft {
  background: linear-gradient(100deg, #fbf7fe 0%, #ffffff 56%, var(--mint-soft) 100%);
}
.section-heading { margin-bottom: 32px; }
.compact-heading { margin-bottom: 22px; }

h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(29px, 3vw, 41px);
  line-height: 1.1;
  letter-spacing: -.032em;
  font-weight: 500;
}
h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.study-card {
  position: relative;
  min-height: 128px;
  display: block;
  padding: 26px 52px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  overflow: hidden;
  transform-origin: center;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    background .24s ease,
    border-color .24s ease;
}
.study-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: .55;
  transition: transform .28s ease, opacity .28s ease;
}
.study-card.accent-purple::after { background: var(--purple-soft); }
.study-card.accent-mint::after { background: var(--mint-soft); }
.study-card.accent-yellow::after { background: var(--yellow-soft); }
.study-card:hover::after {
  transform: scale(1.22);
  opacity: .9;
}
.study-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -1px;
  width: 48px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #bbb;
}
.study-card.accent-purple::before { background: var(--purple); }
.study-card.accent-mint::before { background: var(--mint); }
.study-card.accent-yellow::before { background: var(--yellow); }
.study-card h3 {
  position: relative;
  z-index: 1;
  max-width: 250px;
  margin: 20px 0 0;
  font-size: 19px;
  font-weight: 500;
}
.study-card .arrow {
  position: absolute;
  z-index: 1;
  right: 20px;
  left: auto;
  bottom: 18px;
  font-size: 18px;
  transition: transform .20s ease;
}
.study-card:hover {
  z-index: 2;
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 16px 34px rgba(83, 67, 92, .12);
}
.study-card:hover .arrow { transform: translateX(5px); }
.study-card:hover .study-card.accent-purple:hover { background: #fcf8fe; border-color: #dbc3ea; }
.study-card.accent-mint:hover { background: #f7fffc; border-color: #ccebe2; }
.study-card.accent-yellow:hover { background: #fffef7; border-color: #ede7bd; }

.method-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.method-copy {
  max-width: 650px;
  margin: 0;
  padding-top: 28px;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.45;
  letter-spacing: -.018em;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
blockquote {
  margin: 0;
  padding: 25px 32px 25px 0;
  font-size: 16px;
  line-height: 1.55;
}
blockquote + blockquote { padding-left: 32px; border-left: 1px solid var(--line); }

.quick-links { border-top: 1px solid #d9d9d7; }
.quick-links a {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 19px 12px;
  border-bottom: 1px solid #d9d9d7;
  text-decoration: none;
  transition: transform .22s ease, background .22s ease;
}
.quick-links a:hover { transform: translateX(5px); }
.quick-links a:nth-child(3n+1):hover { background: #fcf8fe; }
.quick-links a:nth-child(3n+2):hover { background: #f7fffc; }
.quick-links a:nth-child(3n+3):hover { background: #fffef7; }
.quick-links a:hover strong { text-decoration: underline; }
.quick-links strong, .quick-links span { display: block; }
.quick-links strong { font-size: 16px; }
.quick-links span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.quick-links b { font-size: 20px; font-weight: 400; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: start;
}
.contact-grid h2 { max-width: 650px; font-size: clamp(29px, 2.8vw, 39px); }
.contact-details {
  margin-top: 29px;
  border-top: 1px solid var(--line);
}
.contact-details p {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: baseline;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details span { color: var(--muted); font-size: 12px; }
.contact-details a { text-decoration: none; font-size: 14px; font-weight: 700; }
.contact-details a:hover { text-decoration: underline; }

.site-footer {
  position: relative;
  padding: 21px 0;
  background: #fafafa;
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, #d6b3ee, #bfeee1, #f5efb3);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}

/* Subpages */
.page-hero {
  padding: 70px 0 46px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 900px; font-size: clamp(36px, 4vw, 54px); }
.page-hero .lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: #444;
  font-size: 18px;
}
.breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: 72px;
  align-items: start;
}
.prose { max-width: 760px; }
.prose p { margin: 0 0 18px; font-size: 16px; }
.prose h2 { margin: 44px 0 18px; font-size: 30px; }
.prose h3 { margin: 30px 0 12px; }
.prose ul { margin: 0 0 22px; padding-left: 20px; }
.prose li { margin: 7px 0; }
.info-card {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 24px;
  background: #fbfffd;
  border-top: 3px solid #d6b3ee;
}
.info-card h3 { margin-bottom: 16px; }
.info-card p { margin: 0 0 12px; font-size: 14px; }
.info-card a { font-weight: 700; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

.article-list {
  border-top: 1px solid var(--line);
}
.article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.article time {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article h2 { margin: 0 0 12px; font-size: 26px; }
.article p { max-width: 800px; margin: 0; color: #444; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
.product-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 15px 32px rgba(83, 67, 92, .10);
}
.product-card:hover .product-card .tag {
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 4px 8px;
  background: var(--yellow-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-card:nth-child(3n+1):hover { border-color: #dbc3ea; background: #fcf8fe; }
.product-card:nth-child(3n+2):hover { border-color: #ccebe2; background: #f7fffc; }
.product-card:nth-child(3n+3):hover { border-color: #ede7bd; background: #fffef7; }
.product-card h3 { font-size: 19px; }
.product-card .product-copy {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.product-card .product-bottom {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.price { font-size: 20px; font-weight: 700; }
.product-card .button { min-height: 40px; padding: 0 14px; font-size: 12px; }

.shop-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--yellow);
  background: var(--yellow-soft);
  font-size: 13px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 44px;
  align-items: start;
}
.cart-list { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item h3 { font-size: 16px; }
.cart-item small { display: block; margin-top: 4px; color: var(--muted); }
.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}
.quantity-controls button {
  width: 34px; height: 34px;
  border: 0;
  background: var(--white);
  cursor: pointer;
}
.quantity-controls span {
  min-width: 34px;
  text-align: center;
  font-size: 13px;
}
.remove-item {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.cart-summary {
  padding: 24px;
  background: #fbf7fe;
  border-top: 3px solid #d6b3ee;
}
.cart-summary h2 { font-size: 25px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}
.summary-line.total { font-size: 19px; font-weight: 700; }

.order-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 12px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  background: var(--white);
  padding: 12px 13px;
  border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-help { margin: 12px 0 18px; color: var(--muted); font-size: 12px; }

.empty-cart {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--line);
}
.edu-item {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.edu-item time { color: var(--muted); font-size: 12px; }
.edu-item h2 { margin: 7px 0 10px; font-size: 23px; }
.edu-item p { margin: 0; color: #444; font-size: 14px; }

.back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.success-box {
  max-width: 720px;
  padding: 34px;
  background: #fbfffd;
  border-top: 3px solid #d6b3ee;
}

@media (max-width: 1240px) {
  .brand { min-width: 320px; }
  .brand img { width: 78px; height: 78px; flex-basis: 78px; }
  .brand-name strong { font-size: 13.5px; }
  .brand-name span { font-size: 10px; }
  .main-nav { gap: 13px; }
  .main-nav a, .languages a, .languages span, .cart-link { font-size: 10.5px; }
}

@media (max-width: 1040px) {
  :root { --header-height: 98px; }
  .header-inner {
    min-height: var(--header-height);
    flex-wrap: wrap;
    gap: 0;
    padding-top: 4px;
  }
  .menu-button { display: block; }
  .brand { min-width: 0; max-width: calc(100% - 205px); }
  .header-actions { margin-left: 12px; }
  .main-nav {
    display: none;
    order: 5;
    width: 100%;
    margin: 0;
    padding: 8px 0 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 9px 0; font-size: 13px; }
  .main-nav a::after { display: none; }
}

@media (max-width: 820px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .cart-layout { grid-template-columns: 1fr; gap: 36px; }
  .info-card { position: static; }
}

@media (max-width: 760px) {
  .container, .header-inner { width: min(calc(100% - 32px), var(--max-width)); }
  .header-inner { min-height: 90px; }
  .brand img { width: 62px; height: 62px; flex-basis: 62px; }
  .brand-name span { display: none; }
  .brand-name strong { max-width: 190px; font-size: 11px; }
  .languages { display: none; }
  .cart-link { font-size: 11px; }
  .hero { min-height: 0; }
    .hero-inner {
  padding-top: 58px;
  padding-bottom: 62px;
}
    h1 { font-size: clamp(36px, 11vw, 49px); }
  .hero-text { font-size: 16px; }
  .section { padding: 53px 0; }
  .study-grid { grid-template-columns: 1fr; }
  .study-card { min-height: 148px; }
  .method-layout, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .method-copy { padding-top: 0; }
  .contact-details { margin-top: 0; }
      .quotes { grid-template-columns: 1fr; }
  blockquote { padding: 21px 0; }
  blockquote + blockquote { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { flex-direction: column; }
  .page-hero { padding: 48px 0 36px; }
  .article { grid-template-columns: 1fr; gap: 8px; }
  .edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .product-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cart-item { grid-template-columns: 1fr auto; }
  .cart-item > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .header-actions { margin-left: 6px; }
  .cart-link { padding: 7px 8px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .contact-details p { grid-template-columns: 1fr; gap: 3px; }
}



.button,
.cart-link {
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ===== Version 9 organic polish ===== */
html, body { background: #f5f1ed; }
body {
  background:
    radial-gradient(circle at top left, rgba(214,179,238,.16), transparent 26%),
    radial-gradient(circle at top right, rgba(191,238,225,.16), transparent 24%),
    radial-gradient(circle at 80% 38%, rgba(245,239,179,.14), transparent 20%),
    linear-gradient(180deg, #faf7f3 0%, #f3eeea 100%);
}
.site-header {
  background: rgba(250,247,243,.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(64, 44, 60, .025);
}
.section {
  padding: 74px 0;
  border-bottom: 1px solid rgba(111,103,116,.10);
}
.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.36) 0%, rgba(255,255,255,.16) 100%);
}
.hero-organic {
  background:
    radial-gradient(circle at 12% 8%, rgba(214,179,238,.14), transparent 18%),
    radial-gradient(circle at 84% 16%, rgba(191,238,225,.14), transparent 18%),
    linear-gradient(180deg, #f8f4f0 0%, #f4efea 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0 70px;
}
.hero-copy {
  padding: 14px 0;
}
.hero-media, .page-hero-media, .method-media img, .study-thumb img {
  display: block;
}
.card-surface {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 14px 38px rgba(60, 42, 54, .055), 0 3px 9px rgba(60, 42, 54, .03);
}
.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.study-grid { gap: 22px; }
.study-card {
  min-height: 250px;
  padding: 14px 16px 52px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 10px 30px rgba(71, 50, 64, .045), 0 2px 8px rgba(71, 50, 64, .025);
}
.study-card::before {
  left: 16px;
  width: 62px;
  height: 4px;
}
.study-card::after {
  width: 132px;
  height: 132px;
  right: -34px;
  top: -42px;
  opacity: .48;
}
.study-thumb {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.study-thumb img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  transition: transform .5s ease;
}
.study-card h3 {
  max-width: none;
  margin-top: 10px;
  font-size: 21px;
}
.study-card .arrow { right: 18px; bottom: 16px; font-size: 20px; }
.study-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 38px rgba(71, 50, 64, .075), 0 4px 12px rgba(71, 50, 64, .035);
}
.study-card:hover .study-thumb img { transform: scale(1.04); }
.method-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 34px;
  align-items: start;
}
.method-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
}
.method-intro h2 { max-width: 420px; }
.method-copy {
  margin: 0;
  padding-top: 0;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.6;
}
.method-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.method-points li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(143,119,168,.18);
  font-size: 13px;
}
.method-media {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
}
.method-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.quotes {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
}
blockquote {
  padding: 28px 28px 30px;
  background: rgba(255,255,255,.72);
}
blockquote + blockquote { border-left: 1px solid rgba(111,103,116,.10); }
.organic-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 0;
}
.organic-links a {
  min-height: 140px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 10px 30px rgba(71, 50, 64, .045), 0 2px 8px rgba(71, 50, 64, .025);
}
.organic-links a:hover { transform: translateY(-5px); }
.contact-grid-fixed {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 26px;
  align-items: stretch;
}
.contact-card {
  border-radius: 28px;
  padding: 26px 28px;
}
.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-intro h2 {
  max-width: 540px;
  font-size: clamp(31px, 2.8vw, 42px);
}
.contact-note {
  max-width: 540px;
  margin: 18px 0 0;
  color: #4a484d;
  font-size: 16px;
}
.contact-details {
  margin-top: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-details p {
  grid-template-columns: 96px 1fr;
  padding: 16px 0;
}
.contact-details p:first-child { padding-top: 0; }
.contact-details p:last-child { padding-bottom: 0; }
.page-hero {
  padding: 76px 0 52px;
  background:
    radial-gradient(circle at 12% 12%, rgba(214,179,238,.12), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(191,238,225,.12), transparent 18%),
    linear-gradient(180deg, #f8f4f0 0%, #f4efea 100%);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
}
.page-hero-copy { min-width: 0; }
.page-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.info-card,
.product-card,
.cart-summary,
.success-box,
.shop-note {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 10px 28px rgba(71, 50, 64, .045), 0 2px 8px rgba(71, 50, 64, .025);
}
.quick-links a,
.product-card,
.info-card,
.cart-summary,
.success-box,
.shop-note,
.button,
.cart-link {
  backdrop-filter: saturate(105%);
}
.button {
  box-shadow: 0 4px 12px rgba(71, 50, 64, .035);
}
.button-primary {
  box-shadow: 0 7px 18px rgba(143,119,168,.12);
}
.site-footer {
  background: rgba(250,247,243,.7);
}
@media (max-width: 980px) {
  .hero-grid, .page-hero-grid, .method-grid { grid-template-columns: 1fr; }
  .method-card { grid-template-columns: 1fr; }
  .hero-media { max-width: 680px; }
  .page-hero-media, .method-media { max-width: 380px; }
  .organic-links { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 58px 0; }
  .hero-grid { gap: 24px; padding: 46px 0 54px; }
  .study-card { min-height: 232px; }
  .study-thumb img { height: 138px; }
  .contact-grid-fixed { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .contact-details p { grid-template-columns: 1fr; gap: 4px; }
}


/* ===== Version 12: cleaner logo + news/shop imagery ===== */
.brand img {
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 2px 0 18px;
  min-height: 210px;
  border-radius: 18px;
  background: #f8f5f1;
  border: 1px solid rgba(111,103,116,.10);
}
.product-image img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
}
.product-card {
  min-height: 470px;
}
.article-list {
  border-top: 0;
  display: grid;
  gap: 22px;
}
.article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 30px rgba(71,50,64,.045), 0 2px 8px rgba(71,50,64,.025);
}
.article-thumb {
  margin: 0;
  min-height: 190px;
  overflow: hidden;
  background: #f4f0ec;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}
.article > time {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.article > div {
  padding: 24px 26px 24px 0;
  align-self: center;
}
.article > div::before {
  content: attr(data-date);
}
.article h2 { margin-top: 0; }
@media (max-width: 760px) {
  .product-image img { height: 260px; }
  .product-card { min-height: 0; }
  .article { grid-template-columns: 1fr; }
  .article-thumb, .article-thumb img { min-height: 210px; max-height: 280px; }
  .article > div { padding: 0 22px 24px; }
}

.article-date { display:block; margin-bottom:8px; color:var(--muted); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }


/* ===== INSPIRION účet / zprávy ===== */
.account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid #e5dbe9;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 11.5px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.account-link:hover {
  transform: translateY(-1px);
  background: var(--purple-soft);
  box-shadow: 0 6px 16px rgba(70,45,65,.05);
}
.account-link.is-signed-in { border-color: #d2e8df; background: var(--mint-soft); }

.unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--purple-deep);
  color: white;
  font-size: 10px;
  line-height: 1;
}
.unread-badge.inline { margin-left: 4px; }

.auth-main {
  min-height: calc(100vh - var(--header-height));
  padding: 64px 0 90px;
  background:
    radial-gradient(circle at 12% 8%, rgba(214,179,238,.12), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(191,238,225,.14), transparent 24%),
    linear-gradient(180deg, #faf7f3 0%, #f3eeea 100%);
}
.auth-shell,
.account-shell,
.messages-shell,
.admin-shell {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
}
.auth-shell {
  display: flex;
  justify-content: center;
}
.auth-card,
.account-panel,
.compose-panel,
.admin-panel {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(66,45,60,.055), 0 3px 10px rgba(66,45,60,.025);
}
.auth-card {
  width: min(100%, 520px);
  padding: 34px;
}
.auth-card h1,
.account-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.04em;
}
.auth-lead {
  margin: 18px 0 0;
  color: #555057;
}
.auth-form {
  display: grid;
  gap: 15px;
  margin-top: 26px;
}
.auth-form.compact { margin-top: 18px; }
.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  border: 1px solid #ddd3e1;
  border-radius: 13px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: #bba5c9;
  box-shadow: 0 0 0 3px rgba(214,179,238,.18);
}
.auth-form textarea { min-height: 150px; resize: vertical; }
.auth-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.auth-status.error { color: #9f3b4a; }
.auth-status.success { color: #39735f; }
.auth-secondary-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.account-hero { margin-bottom: 30px; }
.account-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
}
.account-panel { padding: 28px; }
.account-panel h2,
.compose-panel h2,
.admin-panel h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
}
.account-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(111,103,116,.12);
}
.account-row span { color: var(--muted); font-size: 12px; }
.account-row strong { font-size: 14px; }
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.messages-layout {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.compose-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
}
.message-list {
  display: grid;
  gap: 14px;
}
.message-card {
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 28px rgba(66,45,60,.04);
}
.message-card.incoming { border-left: 4px solid var(--mint); }
.message-card.outgoing { border-left: 4px solid var(--purple); }
.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.message-card h3 { margin: 12px 0 8px; font-size: 19px; }
.message-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.text-button {
  margin-top: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--purple-deep);
  cursor: pointer;
  font-size: 12px;
}
.empty-state {
  padding: 34px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.admin-panel { padding: 26px; }
.admin-panel.wide { min-width: 0; }
.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.mini-button {
  border: 1px solid #ddd3e1;
  border-radius: 12px;
  background: var(--purple-soft);
  padding: 0 12px;
  cursor: pointer;
  font-size: 11px;
}
.table-wrap { overflow-x: auto; margin-top: 20px; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.admin-table th,
.admin-table td {
  padding: 11px 9px;
  border-bottom: 1px solid rgba(111,103,116,.12);
  text-align: left;
  vertical-align: top;
}
.admin-table th { color: var(--muted); font-weight: 600; }

@media (max-width: 980px) {
  .account-grid,
  .messages-layout,
  .admin-grid { grid-template-columns: 1fr; }
  .compose-panel { position: static; }
}
@media (max-width: 760px) {
  .auth-main { padding: 46px 0 70px; }
  .auth-shell,
  .account-shell,
  .messages-shell,
  .admin-shell { width: min(calc(100% - 30px), 1160px); }
  .auth-card,
  .account-panel,
  .compose-panel,
  .admin-panel { padding: 21px; border-radius: 20px; }
  .account-row { grid-template-columns: 1fr; gap: 3px; }
  .message-meta { flex-direction: column; gap: 3px; }
}


/* ===== Version 14: správce + ochrana proti robotům ===== */
.turnstile-wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  margin: 2px 0 1px;
}
.turnstile-wrap[hidden] { display: none; }

.admin-auth-card {
  border-top: 4px solid var(--purple);
}
.admin-login-link {
  display: inline-block;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.admin-login-link:hover {
  color: var(--purple-deep);
  text-decoration: underline;
}


/* ===== Version 15: členská zóna, CMS a jemné animace ===== */
.member-page {
  position: relative;
  isolation: isolate;
}
.member-background {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: -2;
  overflow: hidden;
  background: #f5f0ec;
}
.member-bg-layer {
  position: absolute;
  inset: -4%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: blur(2px) saturate(.72) brightness(1.05);
  transform: scale(1.035);
  transition: opacity 1.8s ease;
}
.member-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(250,247,243,.91), rgba(250,247,243,.78)),
    radial-gradient(circle at 20% 15%, rgba(214,179,238,.18), transparent 28%),
    radial-gradient(circle at 78% 70%, rgba(191,238,225,.18), transparent 26%);
}
.member-bg-layer.visible { opacity: .36; }

.member-page .auth-main {
  background: transparent;
}

.account-actions .button,
.admin-dashboard-link,
.member-nav .button,
.admin-panel .button,
.compose-panel .button {
  position: relative;
  overflow: hidden;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}
.account-actions .button:hover,
.admin-dashboard-link:hover,
.member-nav .button:hover,
.admin-panel .button:hover,
.compose-panel .button:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 13px 26px rgba(84,61,82,.10);
}
.account-actions .button:nth-child(3n+1):hover,
.member-nav .button:nth-child(3n+1):hover { background: var(--purple-soft); border-color: var(--purple); color: var(--text); }
.account-actions .button:nth-child(3n+2):hover,
.member-nav .button:nth-child(3n+2):hover { background: var(--mint-soft); border-color: var(--mint); color: var(--text); }
.account-actions .button:nth-child(3n+3):hover,
.member-nav .button:nth-child(3n+3):hover { background: var(--yellow-soft); border-color: var(--yellow); color: var(--text); }

.member-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.member-nav .button { min-height: 40px; }

.cms-admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}
.cms-panel {
  padding: 26px;
  border-radius: 25px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(66,45,60,.045);
}
.cms-panel h2 { margin: 0 0 16px; font-size: 25px; font-weight: 500; }

.news-admin-list,
.media-admin-grid {
  display: grid;
  gap: 14px;
}
.news-admin-card {
  display: grid;
  grid-template-columns: 155px minmax(0,1fr);
  gap: 18px;
  overflow: hidden;
  border-radius: 19px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(111,103,116,.10);
}
.news-admin-card > img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}
.news-admin-card-body { padding: 18px 18px 18px 0; }
.news-admin-card:not(:has(> img)) .news-admin-card-body { grid-column: 1 / -1; padding: 18px; }
.news-admin-card h3 { margin: 8px 0 6px; }
.news-admin-card p { margin: 0; color: var(--muted); font-size: 13px; }
.news-admin-meta,
.news-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.news-admin-meta { font-size: 10px; color: var(--muted); }
.news-admin-meta .published { color: #39735f; }
.news-admin-meta .draft { color: #9a7250; }
.news-admin-actions { margin-top: 14px; }

.media-admin-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.media-admin-card {
  overflow: hidden;
  border-radius: 19px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(111,103,116,.10);
}
.media-admin-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.media-admin-body {
  display: grid;
  gap: 5px;
  padding: 13px;
}
.media-admin-body small { color: var(--muted); }
.danger { color: #9f3b4a !important; }

.cms-file {
  padding: 11px;
  border: 1px dashed #d8cedd;
  border-radius: 13px;
  background: rgba(255,255,255,.55);
}
.cms-checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: 9px !important;
}
.cms-checkbox input { width: auto !important; }

.home-news-section[hidden] { display: none; }
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.home-news-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 28px rgba(71,50,64,.045);
  transition: transform .23s ease, box-shadow .23s ease;
}
.home-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(71,50,64,.075);
}
.home-news-image { margin: 0; }
.home-news-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.home-news-card > div { padding: 18px; }
.home-news-card h2 { margin: 6px 0 8px; font-size: 21px; }
.home-news-card p { margin: 0; color: var(--muted); font-size: 13px; }
.cms-article .cms-content {
  margin-top: 16px;
  color: #403d42;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .cms-admin-grid { grid-template-columns: 1fr; }
  .media-admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .home-news-grid,
  .media-admin-grid { grid-template-columns: 1fr; }
  .news-admin-card { grid-template-columns: 1fr; }
  .news-admin-card > img { height: 190px; }
  .news-admin-card-body { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .member-bg-layer { transition: none; }
  .account-actions .button:hover,
  .admin-dashboard-link:hover,
  .member-nav .button:hover,
  .admin-panel .button:hover,
  .compose-panel .button:hover,
  .home-news-card:hover {
    transform: none;
  }
}
