/* Core design system for the stomatology / stomatochirurgie site.
   This stylesheet is intentionally self-contained and semantic-first so it can
   survive a later WordPress/CMS migration with minimal markup changes. */

:root {
  color-scheme: light;

  --bg: #f8f7f8;
  --bg-2: #f1eff1;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.58);
  --text: #000000;
  --text-soft: #16303a;
  --text-faint: #16303a;
  --line: rgba(22, 48, 58, 0.12);
  --line-strong: rgba(22, 48, 58, 0.2);
  --brand: #e32a62;
  --brand-rgb: 227, 42, 98;
  --brand-2: #9f1744;
  --brand-2-rgb: 159, 23, 68;
  --accent: #d7b98c;
  --accent-2: #e32a62;
  --shadow: 0 14px 32px rgba(22, 48, 58, 0.08);
  --shadow-soft: 0 8px 20px rgba(22, 48, 58, 0.06);
  --radius-xs: 0.45rem;
  --radius-sm: 0.65rem;
  --radius-md: 0.85rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --content-max: 72rem;
  --content-narrow: 58rem;
  --space-1: 0.375rem;
  --space-2: 0.625rem;
  --space-3: 0.875rem;
  --space-4: 1.125rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.25rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.96rem);
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.16rem, 1.08rem + 0.45vw, 1.42rem);
  --step-2: clamp(1.45rem, 1.24rem + 0.95vw, 2rem);
  --step-3: clamp(1.85rem, 1.48rem + 1.25vw, 2.55rem);
  --step-4: clamp(2.4rem, 1.92rem + 1.9vw, 3.55rem);
  --font-sans: "Alan Sans", "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Alan Sans", "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 58%, #fbfafb 100%);
  min-height: 100vh;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  display: none;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(var(--brand-rgb), 0.28);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid rgba(var(--brand-rgb), 0.38);
  outline-offset: 3px;
}

::selection {
  background: rgba(var(--brand-rgb), 0.14);
}

body > header,
.site-header,
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.12);
}

.nav-toggle {
  display: none;
}

body > header[data-scrolled="true"],
.site-header.is-scrolled,
#site-header.is-scrolled {
  box-shadow: 0 4px 14px rgba(22, 48, 58, 0.05);
}

header > .inner,
.site-header__inner,
.container,
.section__inner,
.content-wrap {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
}

.container,
.section__inner,
.content-wrap {
  padding-inline: 0;
}

header nav,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.75rem;
}

.brand,
.site-brand,
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  inline-size: clamp(8.8rem, 12vw, 11rem);
  block-size: auto;
  flex: none;
}

.brand-mark,
.logo-mark {
  inline-size: 2.7rem;
  block-size: 2.7rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: none;
}

.brand-text {
  display: grid;
  line-height: 1.15;
  max-width: 16rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(22, 48, 58, 0.14);
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: var(--step--1);
  color: var(--text-faint);
}

nav ul,
.nav-list,
.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

nav a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  text-decoration: none;
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

nav a:hover,
.nav-link:hover,
.nav-link[aria-current="true"],
nav a.is-active {
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand-2);
  transform: translateY(-1px);
}

main {
  display: block;
}

section {
  position: relative;
  scroll-margin-top: 6rem;
}

.section,
section[data-block] {
  padding: clamp(2.5rem, 3.2vw, 3.75rem) 0;
}

.section__eyebrow,
.eyebrow,
[data-eyebrow] {
  display: block;
  margin: 0;
  color: inherit;
  font-size: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: none;
}

.section__eyebrow::before,
.eyebrow::before,
[data-eyebrow]::before {
  content: none;
}

.section-header {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-bottom: var(--space-5);
}

.section--single .section-header,
.section--single .section-header > :last-child {
  max-width: none;
}

.section-header > :last-child {
  max-width: 64ch;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h1 {
  font-size: var(--step-4);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.section-header h2::before {
  content: "";
  display: inline-block;
  height: 3px;
  width: 32px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 99px;
  flex-shrink: 0;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-soft);
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: none;
}

h3 {
  font-size: var(--step-1);
}

.section-header h3 {
  font-size: 30px;
  max-width: 18ch;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.lead,
.section__lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  max-width: 60ch;
  color: var(--text-soft);
}

.hero,
#hero {
  padding-top: clamp(2.5rem, 3.8vw, 4.25rem);
  overflow: clip;
}

.hero__grid,
#hero .section__inner,
[data-block="hero"] .section__inner {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.05fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hero__content,
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-4);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--text-faint);
  font-size: var(--step--1);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 48, 58, 0.08);
}

.hero__actions,
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn,
button,
[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn[disabled],
button[disabled],
[type="submit"][disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(22, 48, 58, 0.28) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: transparent !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.9rem 1.3rem;
  text-decoration: none;
}

.btn--primary,
.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn--primary:hover,
.button-primary:hover {
  background: var(--brand-2);
}

.btn--secondary,
.button-secondary {
  background: #ffffff;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn--secondary:hover,
.button-secondary:hover {
  background: rgba(var(--brand-rgb), 0.05);
}

.hero__trust,
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__trust li,
.trust-item {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(22, 48, 58, 0.08);
}

.hero__trust li::before,
.trust-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  inline-size: 3.25rem;
  block-size: 3px;
  border-radius: var(--radius-sm) 0 2px 0;
  background: var(--brand);
}

.hero__trust strong,
.trust-item strong {
  color: var(--text);
  font-size: var(--step-0);
}

.hero__trust span,
.trust-item span {
  color: var(--text-faint);
  font-size: var(--step--1);
}

.hero__visual,
.hero-media {
  position: relative;
  display: grid;
  place-items: end;
  min-height: clamp(24rem, 34vw, 34rem);
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid rgba(22, 48, 58, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-media .hero-symbol {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  inline-size: clamp(4.25rem, 9vw, 7.25rem);
  block-size: auto;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(22, 48, 58, 0.1);
}

.hero__visual::before,
.hero-media::before,
.hero__visual::after,
.hero-media::after {
  display: none;
}

.hero-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 64% center;
  border-radius: inherit;
}

.hero-media .hero-symbol {
  inline-size: clamp(4.25rem, 9vw, 7.25rem);
  block-size: auto;
  object-fit: contain;
}

/* Image hooks for future bitmap assets in assets/images/.
   These are intentionally non-destructive: if the assets are not yet present,
   the layout still works because the blocks also have strong gradient fallbacks. */
.media-frame,
figure[data-asset],
.asset-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(22, 48, 58, 0.08);
  box-shadow: none;
}

.media-frame::before,
figure[data-asset]::before,
.asset-frame::before {
  display: none;
}

.media-portrait {
  aspect-ratio: 4 / 5;
  background: url("../images/hero-portrait.png") center/cover no-repeat;
}

.media-detail {
  aspect-ratio: 16 / 11;
  background: url("../images/hands-tools.png") center/cover no-repeat;
}

.media-texture {
  aspect-ratio: 4 / 3;
  background: url("../images/texture-ceramic.png") center/cover no-repeat;
}

.media-organic {
  aspect-ratio: 3 / 2;
  background: url("../images/organic-bg.png") center/cover no-repeat;
}

.media-consult {
  aspect-ratio: 5 / 4;
  background: url("../images/consultation-detail.png") center/cover no-repeat;
}

.section-grid,
.cards-grid,
.service-grid,
.faq-grid,
.contact-grid,
.info-grid {
  display: grid;
  gap: var(--space-4);
}

.section-grid,
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  align-items: stretch;
}

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

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.step {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.1rem, 1.6vw, 1.45rem);
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.045), rgba(255, 255, 255, 0) 46%),
    var(--surface);
}

.step::before {
  content: attr(data-step);
  inline-size: fit-content;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-xs);
  color: var(--brand-2);
  background: rgba(var(--brand-rgb), 0.09);
  font-weight: 800;
  font-size: var(--step--1);
}

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

.pricing-wrap {
  display: grid;
  gap: var(--space-4);
}

.pricing-wrap--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.pricing-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.pricing-card table {
  inline-size: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(22, 48, 58, 0.14);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.pricing-card th,
.pricing-card td {
  text-align: left;
  vertical-align: top;
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid rgba(22, 48, 58, 0.08);
}

.pricing-card thead th {
  background: var(--brand);
  color: #ffffff;
  font-size: var(--step--1);
  font-weight: 700;
}

.pricing-card tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-card tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.67);
}

.pricing-card h3 {
  margin-bottom: 0.2rem;
}

.pricing-card td:first-child {
  width: 100%;
}

.pricing-card tbody td:last-child {
  white-space: nowrap;
  font-weight: 700;
  color: var(--brand-2);
  text-align: right;
}

#o-nas .section-grid {
  grid-template-columns: 1fr;
}

#o-nas .panel.prose {
  max-width: 72rem;
}

.card,
.service-card,
.faq-item,
.contact-card,
.panel,
.stat-card {
  background:
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.025), rgba(255, 255, 255, 0) 34%),
    var(--surface);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  border-radius: var(--radius-md);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card,
.service-card,
.contact-card,
.panel {
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.service-card {
  display: grid;
  gap: 0.85rem;
  min-height: 100%;
}

.service-card__top,
.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-card__icon,
.card__icon {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-items: center;
  color: #f7fbfb;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: none;
  flex: none;
}

.service-card ul,
.bullet-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-card li,
.bullet-list li,
.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--text-soft);
}

.service-card li::before,
.bullet-list li::before,
.check-list li::before {
  content: "";
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin-top: 0.38rem;
  border-radius: 0;
  background: url("../images/loga/rgb-svg-02-barevne-alternativni/Surgenta_Symbol_RGB_03_Barevny_Alternativni.svg") center/contain no-repeat;
  box-shadow: none;
}

.split-panel {
  display: grid;
  gap: 0.85rem;
}

.split-panel .section-header {
  margin-bottom: 0;
}

.split-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.split-panel__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-xs);
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand);
  font-size: var(--step--1);
  font-weight: 700;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: var(--content-narrow);
}

.prose > :is(p, ul, ol) {
  max-width: 62ch;
}

.callout,
.notice {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, rgba(var(--brand-rgb), 0.07), rgba(var(--brand-rgb), 0.02) 42%, rgba(255, 255, 255, 0) 100%),
    rgba(255, 255, 255, 0.82);
  border: 1px solid transparent;
}

.callout::before,
.notice::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(22, 48, 58, 0.1), rgba(22, 48, 58, 0.04) 48%, rgba(22, 48, 58, 0) 100%) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.callout strong,
.notice strong {
  color: var(--text);
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: var(--radius-sm);
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(var(--brand-rgb), 0.14);
}

.faq-item > div {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-soft);
}

.contact-card {
  display: grid;
  gap: 1.25rem;
}

.contact-info-list {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info-content strong {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-2);
  font-weight: 700;
}

.contact-info-content span,
.contact-info-content a {
  font-size: var(--step-0);
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-content a:hover {
  color: var(--brand);
}

.contact-meta,
.opening-hours {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(22, 48, 58, 0.08);
}

.contact-meta strong,
.opening-hours strong {
  color: var(--text);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--text);
}

.field input,
.field textarea {
  inline-size: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(var(--brand-rgb), 0.55);
  outline: 3px solid rgba(var(--brand-rgb), 0.12);
}

.map-container {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(22, 48, 58, 0.08);
  padding-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.map-frame-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(22, 48, 58, 0.08);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.map-frame-wrapper iframe {
  display: block;
}

.map-navigation-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (max-width: 38rem) {
  .map-navigation-buttons {
    grid-template-columns: 1fr;
  }
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  font-size: var(--step--1);
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(22, 48, 58, 0.12);
  background: #ffffff;
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-map:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  background-color: rgba(var(--brand-rgb), 0.04);
  color: var(--brand);
}

.kicker,
.microcopy,
.fineprint {
  font-size: var(--step--1);
  color: var(--text-faint);
}

footer {
  padding: 3rem 0 4rem;
  color: var(--text-faint);
}

footer .footer-inner,
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 48, 58, 0.1);
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__brand {
  inline-size: fit-content;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.site-footer__brand img {
  inline-size: min(12rem, 48vw);
  block-size: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--brand);
}

/* Decorative asset utilities */
.asset-decor,
.texture-swatch,
.bg-swatch {
  display: none;
}

/* Reveal-friendly defaults for JS-enhanced entry animations. */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-soft), transform 700ms var(--ease-soft);
}

/* Sticky nav and JS state hooks. */
body.is-scrolling .site-header,
body.is-scrolling #site-header {
  box-shadow: 0 4px 14px rgba(22, 48, 58, 0.05);
}

.is-active,
[aria-current="page"],
[aria-current="true"] {
  color: var(--text);
}

.is-pulsed {
  animation: pulse-ring 650ms var(--ease-soft);
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.015);
  }

  100% {
    transform: scale(1);
  }
}

#o-nas .panel.prose ul,
.bullet-list,
.check-list {
  list-style: none;
  padding-left: 0;
}

#o-nas .panel.prose li,
.bullet-list li,
.check-list li,
.service-card li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.75rem;
  align-items: start;
  transition: transform 0.2s var(--ease-out);
}

#o-nas .panel.prose li::before,
.service-card li::before,
.bullet-list li::before,
.check-list li::before {
  content: "";
  inline-size: 1rem;
  block-size: 1rem;
  margin-top: 0.35rem;
  align-self: start;
  background: url("../../logo-symbol-alt.svg") center/contain no-repeat;
  flex-shrink: 0;
}

.bullet-list li:hover,
.check-list li:hover,
#o-nas .panel.prose li:hover {
  transform: translateX(4px);
}

.brand-logo {
  width: clamp(100px, 12vw, 170px);
  height: auto;
  display: block;
}

.site-footer__brand img {
  inline-size: clamp(6.5rem, 13vw, 9.5rem);
  block-size: auto;
}

header nav {
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1rem;
  align-items: center;
  scrollbar-width: none;
}

header nav::-webkit-scrollbar {
  display: none;
}

.brand {
  flex-wrap: nowrap;
}

.brand-text {
  white-space: nowrap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Alan Sans", "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
}

.hero-media {
  min-height: clamp(16rem, 22vw, 24rem) !important;
  max-height: 24rem !important;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 24rem !important;
  object-fit: cover;
}

.section,
section,
section[data-block] {
  padding: clamp(1.25rem, 1.6vw, 1.875rem) 0;
}

.nav-list {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-header .container,
header .container {
  align-items: center;
  width: min(calc(100% - 2rem), 72rem);
}

.section--single .section-header,
.section--single .section-header > :last-child {
  max-width: none;
}

#o-nas .section-header h2 {
  max-width: none;
  white-space: nowrap;
}

#o-nas .section-grid {
  grid-template-columns: 1fr;
}

#o-nas .panel.prose {
  max-width: 72rem;
}

#o-nas .panel.prose ul {
  max-width: none;
}

.cv-year,
.cv-dash {
  display: inline;
}



#sluzby .section-header {
  margin-bottom: 1.5rem;
}

#sluzby .section-header .eyebrow {
  margin: 0;
}

.pricing-wrap--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-wrap--split .pricing-card {
  height: 100%;
}

.pricing-card tbody td:last-child {
  white-space: nowrap;
  font-weight: 700;
  color: var(--brand-2);
  text-align: right;
}

.pricing-note {
  display: grid;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-soft);
  font-weight: 600;
}

.pricing-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.pricing-note li {
  margin: 0;
  color: inherit;
  line-height: 1.45;
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.6rem;
  align-items: start;
}

.pricing-note li::before {
  content: "";
  inline-size: 1rem;
  block-size: 1rem;
  align-self: start;
  margin-top: 0.35rem;
  background: url("../../logo-symbol-alt.svg") center/contain no-repeat;
}

.service-plain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-plain-card {
  padding: 1.4rem;
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.05), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.service-plain-card h3 {
  margin-bottom: 0.65rem;
}

.service-plain-card p {
  margin: 0;
}

#kontakt .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#kontakt .contact-card {
  max-width: none;
}

#kontakt .contact-card .section-header {
  margin-bottom: 1.25rem;
}

.reservation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.reservation-card.card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(var(--brand-rgb), 0.08);
  box-shadow: none;
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.reservation-card.card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.22);
}

.reservation-card h3 {
  margin-bottom: 0.85rem;
  color: var(--text-soft);
  font-weight: 700;
  font-size: var(--step-0);
}

.reservation-action {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reservation-badge {
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
}

@media (max-width: 72rem) {
  .section,
  section,
  section[data-block] {
    padding: clamp(1.25rem, 1.6vw, 1.875rem) 0;
  }

  .pricing-wrap--split {
    grid-template-columns: 1fr;
  }

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

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

  #kontakt .contact-grid {
    grid-template-columns: 1fr;
  }

  #o-nas .section-header h2 {
    white-space: normal;
  }

  .hero-media {
    min-height: 16rem !important;
    max-height: 24rem !important;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero__grid,
  #hero .section__inner,
  [data-block="hero"] .section__inner,
  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pricing-wrap--split {
    grid-template-columns: 1fr;
  }

  .section,
  section,
  section[data-block] {
    padding: 1.5rem 0;
  }

  h1 {
    max-width: 14ch;
  }

  .hero__visual {
    min-height: 24rem;
    order: -1;
  }

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

@media (max-width: 54rem) {
  body > header,
  .site-header,
  #site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  header nav,
  .site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.75rem;
    position: relative;
    overflow: visible;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    width: auto;
  }

  .brand-text {
    border-left: none;
    padding-left: 0;
    max-width: none;
    text-align: left;
  }

  /* Hamburger Toggle Button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.8rem;
    height: 1.25rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 100;
  }

  .nav-toggle__bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-soft);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background-color: var(--brand);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background-color: var(--brand);
  }

  /* Mobile Nav Overlay */
  .nav-list[data-nav-list] {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    width: calc(100% + 2rem);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(var(--brand-rgb), 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 12px 24px rgba(22, 48, 58, 0.06);
    z-index: 90;
    margin: 0;
  }

  .nav-list[data-nav-list].is-open {
    display: flex;
    animation: slideDownMenu 0.25s var(--ease-out) forwards;
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-list li {
    width: 100%;
  }

  nav a,
  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: var(--step-0);
  }

  .brand-text {
    max-width: none;
  }

  .cards-grid,
  .service-grid,
  .hero__trust,
  .info-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .section,
  section[data-block] {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__actions,
  .contact-actions {
    gap: 0.7rem;
  }

  .cv-year {
    display: block;
    margin-bottom: 0.15rem;
  }

  .cv-dash {
    display: none;
  }
}

@media (max-width: 38rem) {
  :root {
    --content-max: calc(100vw - 1.4rem);
  }

  header > .inner,
  .site-header__inner,
  .section__inner,
  .container,
  .content-wrap {
    width: min(calc(100% - 1.4rem), var(--content-max));
  }

  h1 {
    font-size: clamp(2.15rem, 1.75rem + 2vw, 2.9rem);
  }

  .section-header h3,
  .section-header .eyebrow {
    font-size: 30px;
  }

  .btn {
    width: 100%;
  }

  .brand-logo {
    inline-size: min(10rem, 48vw);
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__meta span {
    width: 100%;
  }

  .hero__visual {
    min-height: 20rem;
  }

  .map-frame-wrapper {
    min-height: 15rem;
  }

  .faq-item summary {
    padding: 1rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(22, 48, 58, 0.3);
    --line-strong: rgba(22, 48, 58, 0.5);
  }

  .card,
  .service-card,
  .faq-item,
  .contact-card,
  .panel,
  .hero__visual {
    border-color: var(--line-strong);
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  body::before,
  body::after,
  .hero__visual,
  .map-frame-wrapper,
  .texture-swatch,
  .bg-swatch {
    display: none !important;
  }

  a {
    text-decoration: none;
  }
}

/* ==========================================================================
   Reservation Modal Styles
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 48, 58, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__container {
  position: relative;
  width: min(calc(100% - 2rem), 780px);
  max-height: min(calc(100vh - 2rem), 700px);
  background: var(--surface-strong);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(22, 48, 58, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1010;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s var(--ease-out);
}

.modal.is-open .modal__container {
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.08);
  background: rgba(var(--brand-rgb), 0.02);
}

.modal__title {
  font-size: clamp(1.15rem, 1.25rem, 1.4rem);
  font-weight: 700;
  color: var(--brand-2);
  margin: 0;
  text-transform: none;
  letter-spacing: -0.02em;
}

.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius-xs);
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.modal__close:hover {
  background-color: rgba(var(--brand-rgb), 0.08);
  color: var(--brand);
}

.modal__content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background: #ffffff;
}

/* iframe responsiveness inside modal */
#rezervace_iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
}

/* Lock scrolling on page when modal is active */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 38rem) {
  .modal__container {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
  }
  
  .modal__content {
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #rezervace_iframe {
    height: 950px !important;
  }
}
