/* ==========================================================
   relaxmasaz.sk – revisions on top of the Webflow export
   ========================================================== */

html { scroll-behavior: smooth; }
html.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

section[id] { scroll-margin-top: 1rem; }
p { margin: 0; }
img { height: auto; }
.nowrap { white-space: nowrap; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--background-primary); color: #fff;
  padding: .5rem 1rem; border-radius: .5rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--background-primary); outline-offset: 3px; }

/* Buttons rendered as <button> */
button.button {
  font-family: inherit; cursor: pointer; border: 0; width: auto;
  -webkit-appearance: none; appearance: none;
}
button.button.pd-18 { border: 1px solid var(--background-primary); }
.button.pd-18 { gap: .625rem; }
.text-color-green { color: #007a55; }

/* ---------- Hero ---------- */
.section-header { background-position: 60% 50%; }
.heading-hero-home .heading-style-h1,
.heading-hero-home .text-size-large { text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }

/* ---------- About ---------- */
.img-w-100-about.portrait {
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: .875rem;
  box-shadow: 0 24px 48px -24px rgba(87, 50, 30, .35);
}
.about-home-image:hover { transform: none; }

/* ---------- Feature spotlights ---------- */
.feature-stack { display: flex; flex-direction: column; gap: 2.5rem; }
.wrap-feature { align-items: stretch; gap: 0; }
.wrap-feature .image-feature { overflow: hidden; flex-shrink: 0; }
.wrap-feature .image-feature img {
  display: block; width: 100%; height: 100%; min-height: 100%;
  object-fit: cover; transition: transform .6s ease;
}
.image-feature:hover { transform: none; }
.image-feature:hover img { transform: scale(1.03); }
.wrap-feature .componant-feature {
  max-width: none; padding: 2.5rem 2.5rem 2.5rem 3rem;
  gap: 2rem; justify-content: center;
}
.wrap-feature.is-reversed { flex-direction: row-reverse; border-color: #cd8d6b; }
.wrap-feature.is-reversed .componant-feature { padding: 2.5rem 3rem 2.5rem 2.5rem; }
.wrap-feature .heading-feature { max-width: 30rem; }
.icon-table-yes-feature { align-items: flex-start; }
.icon-table-yes-feature img { margin-top: .2rem; flex-shrink: 0; }

.pill-new {
  align-self: flex-start;
  background: #fce7d9; color: #9a4a1f;
  border-radius: 999px; padding: 3px 12px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.chips-block { display: flex; flex-direction: column; gap: .625rem; }
.chips-label { font-size: 1rem !important; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  background: #ecfdf5; color: #006045; border: 1px solid #a4f4cf;
  border-radius: 999px; padding: 4px 12px; font-size: .875rem; line-height: 1.4;
}
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-row .button { flex: 1 1 auto; justify-content: center; }
.btn-row .button.pd-70 { padding-left: 2rem; padding-right: 2rem; }

/* ---------- Service cards ---------- */
.card-services { display: flex; flex-direction: column; }
.image-service { overflow: hidden; }
.image-service img {
  display: block; width: 100%;
  aspect-ratio: 304 / 192; object-fit: cover;
}
.image-service::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 55%);
}
.mint-box {
  z-index: 1; background-color: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.content-service { flex: 1; padding: 1.75rem 1.5rem 1.5rem; }
.card-copy { display: flex; flex-direction: column; gap: .5rem; }
.items-services { margin-top: auto; }
.swipe-hint { display: none; }

/* ---------- Modals ---------- */
.modal-pop-main { display: none; }
.modal-pop-main.is-open { display: block; animation: modalFade .2s ease; }
.modal-pop-main.is-open .modal-pop-box { animation: modalRise .25s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { transform: translateY(12px); opacity: .6; } to { transform: none; opacity: 1; } }

.modal-pop-componant { height: 100%; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.modal-pop-box {
  height: auto; max-height: calc(100vh - 2.5rem); max-height: calc(100dvh - 2.5rem);
  overflow-y: auto; overscroll-behavior: contain;
  max-width: 32rem; gap: 1.5rem;
  padding: 3rem 3rem 2.5rem;
}
.items-modal { gap: 1rem; }
.modal-table { display: flex; flex-direction: column; gap: .5rem; }
.modal-link { display: block; color: #007a55; text-decoration: underline; text-underline-offset: 3px; }
.modal-note { color: #79716b; font-style: italic; }
.modal-cta { justify-content: center; flex-shrink: 0; }
.modal-close {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  top: .875rem; right: .875rem; width: 2.25rem; height: 2.25rem; max-width: 2.25rem;
}

/* ---------- Contact ---------- */
.contact-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-link { text-decoration: none; color: inherit; }
.contact-link:hover { transform: translateY(-2px); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media screen and (max-width: 991px) {
  .wrap-feature, .wrap-feature.is-reversed { flex-direction: column; }
  .wrap-feature .image-feature { max-width: none; width: 100%; }
  .wrap-feature .image-feature img { aspect-ratio: 16 / 10; height: auto; }
  .wrap-feature .componant-feature,
  .wrap-feature.is-reversed .componant-feature { padding: 2rem 1.5rem; }
}

@media screen and (max-width: 767px) {
  .contact-flex { grid-template-columns: 1fr; }

  /* Services as a swipeable row with a peek of the next card */
  .blog-services {
    display: flex; flex-flow: row nowrap; overflow-x: auto; gap: 1rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-left: -1.25rem; margin-right: -1.25rem;
    padding: .25rem 1.25rem 1rem; scroll-padding-left: 1.25rem;
    scrollbar-width: none;
  }
  .blog-services::-webkit-scrollbar { display: none; }
  .blog-services .card-services { flex: 0 0 84%; scroll-snap-align: start; }
  .image-service:hover { transform: none; }
  .swipe-hint { display: block; font-size: .875rem; color: #79716b; }

  /* Sticky call bar */
  .callbar {
    position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 900;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--background-primary); color: #fff; text-decoration: none;
    font-weight: 600; font-size: 1rem; padding: .875rem 1rem;
    border-radius: .75rem; box-shadow: 0 10px 30px -8px rgba(0, 60, 40, .55);
  }
  .body { padding-bottom: 4.5rem; }
  html.modal-open .callbar { display: none; }

  .modal-pop-box { padding: 2.75rem 1.25rem 1.5rem; }
  .btn-row { flex-direction: column; }
}

@media screen and (max-width: 479px) {
  .wrap-feature .image-feature img { aspect-ratio: 4 / 3; }
}

/* ---------- Hero eyebrow ---------- */
.hero-eyebrow {
  color: rgba(255, 255, 255, .85); font-size: .875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: -.5rem;
}

/* ---------- FAQ ---------- */
.section-faq { background-color: #fff; }
.wrap-faq { display: flex; flex-direction: column; gap: 2rem; max-width: 46rem; margin: 0 auto; }
.faq-title { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid #e7e5e4; border-radius: .875rem; transition: border-color .3s; }
.faq-item[open] { border-color: #a4f4cf; background-image: linear-gradient(#ecfdf5, #fff); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: #007a55; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-q { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; color: var(--black); }
.faq-item > p { padding: 0 1.25rem 1.25rem; }

/* ---------- Social ---------- */
.social-row { display: flex; gap: .625rem; margin-top: .5rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); color: #d6d3d1; transition: all .3s;
}
.social-link:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

/* H1 is the keyword line; the visual headline is a <p> */
h1.hero-eyebrow { margin: 0; line-height: 1.4; }
p.heading-style-h1 { margin: 0; }
.about-eyebrow {
  color: #9a4a1f; font-size: .875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: -.75rem;
}

/* ==========================================================
   Service subpage (nervus-vagus/)
   ========================================================== */
.nv-header {
  background-image: linear-gradient(90deg, rgba(20, 16, 12, .72) 0%, rgba(20, 16, 12, .45) 60%, rgba(20, 16, 12, .25) 100%), url('../images/nervus-vagus.jpg');
  background-position: 50% 35%; background-size: cover;
}
.nv-hero { padding-top: 2.5rem; padding-bottom: 4.5rem; color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .875rem; color: rgba(255, 255, 255, .75); margin-bottom: 2.5rem; }
.breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.nv-hero-copy { max-width: 40rem; display: flex; flex-direction: column; gap: 1.25rem; }
.nv-h1 { font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: 3.5rem; line-height: 1.1; margin: 0; color: #fff; text-wrap: balance; }
.nv-lead { font-size: 1.25rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.nv-facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.nv-facts span {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  border-radius: 999px; padding: 4px 14px; font-size: .9375rem;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

.nv-main { background: #fafaf9; padding-top: 4rem; padding-bottom: 5rem; }
.nv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; align-items: start; max-width: 70rem; margin: 0 auto; }
.nv-article { display: flex; flex-direction: column; gap: 3rem; min-width: 0; max-width: 42rem; }
.nv-article section { display: flex; flex-direction: column; gap: 1rem; }
.nv-article h2 { font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: 2.25rem; line-height: 1.15; color: var(--black); margin: 0; }
.nv-article p { font-size: 1.125rem; line-height: 1.7; color: var(--primary-color); }
.nv-muted { color: #79716b !important; font-size: 1rem !important; }
.nv-figure { margin: 0; }
.nv-figure img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .875rem; }

.nv-effects { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nv-effect {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #fff; border: 1px solid #e7e5e4; border-radius: .875rem; padding: 1.25rem;
}
.nv-effect img { margin-top: .3rem; flex-shrink: 0; }
.nv-effect h3 { margin: 0 0 .25rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--black); }
.nv-effect p { font-size: .9375rem !important; line-height: 1.55 !important; }
.nv-effect:last-child { grid-column: 1 / -1; background-image: linear-gradient(#ecfdf5, #fff); border-color: #a4f4cf; }

.nv-chips li { font-size: .9375rem; padding: 6px 14px; }

.nv-quote {
  margin: .5rem 0; padding: 1.5rem 1.75rem; border: 0; background: #fee8df; border-radius: .875rem;
  font-family: Marcellus, Georgia, serif; font-size: 1.5rem; line-height: 1.4; color: #3d2a20;
}
.nv-quote cite { display: block; margin-top: .75rem; font-family: Inter, sans-serif; font-style: normal; font-size: .875rem; color: #9a4a1f; }

.nv-cta { background: #fff; border: 2px solid #096; border-radius: .875rem; padding: 2rem; }
.nv-cta-title { font-family: Marcellus, Georgia, serif; font-size: 1.5rem !important; line-height: 1.35 !important; color: var(--black) !important; }

.nv-card {
  position: sticky; top: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  background: #fff; border: 1px solid #e7e5e4; border-radius: .875rem; padding: 1.75rem;
  box-shadow: 0 20px 40px -28px rgba(87, 50, 30, .35);
}
.nv-card-title { font-size: 1.25rem; color: var(--black); }
.nv-card-price { display: flex; align-items: baseline; gap: .75rem; }
.nv-card .button { justify-content: center; padding-left: 1rem; padding-right: 1rem; }
.nv-card-meta { display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid #e7e5e4; padding-top: 1.25rem; font-size: .9375rem; color: var(--primary-color); }
.nv-card-meta > div { display: flex; flex-direction: column; gap: 2px; }
.nv-card-meta a { color: #007a55; text-decoration: none; }
.nv-card-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #79716b; }
.nv-card-gift { font-size: .9375rem; color: #9a4a1f; text-decoration: underline; text-underline-offset: 3px; }

.feature-more { font-size: .9375rem; color: #007a55; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }

@media screen and (max-width: 991px) {
  .nv-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .nv-card { position: static; order: -1; }
  .nv-h1 { font-size: 2.75rem; }
}
@media screen and (max-width: 767px) {
  .nv-effects { grid-template-columns: 1fr; }
  .nv-h1 { font-size: 2.25rem; }
  .nv-lead { font-size: 1.0625rem; }
  .nv-article h2 { font-size: 1.875rem; }
  .nv-quote { font-size: 1.25rem; padding: 1.25rem; }
  .nv-main { padding-top: 2.5rem; }
}
