/* DENTKAT – zubná ambulancia */

:root {
  --teal-900: #134e4a;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --stone-900: #1c1917;
  --stone-700: #44403c;
  --stone-500: #78716c;
  --stone-200: #e7e5e4;
  --white: #fafaf9;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --shadow: 0 4px 24px rgba(19, 78, 74, 0.08);
  --radius: 12px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--stone-700);
  background: var(--white);
}

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

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-600);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--teal-800);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.contact-block-spaced {
  margin-top: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-200);
}

.header-inner {
  position: relative;
  z-index: 60;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--teal-900);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--teal-700);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--stone-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  color: var(--stone-900);
  flex-shrink: 0;
}

.nav-toggle-burger {
  width: 1.25rem;
  height: 0.875rem;
  position: relative;
  display: block;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.2s ease,
    opacity 0.15s ease,
    top 0.2s ease;
}

.nav-toggle-line:nth-child(1) {
  top: 0;
}

.nav-toggle-line:nth-child(2) {
  top: 6px;
}

.nav-toggle-line:nth-child(3) {
  top: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
}

.nav-list a {
  color: var(--stone-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--teal-700);
}

.nav-cta {
  background: var(--teal-600);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--teal-700);
  color: #fff !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.35rem);
    background: #fff;
    border: 1px solid var(--stone-200);
    border-radius: 14px;
    padding: 0.35rem 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.06),
      0 18px 42px -12px rgba(19, 78, 74, 0.22);
  }

  .site-nav.is-open {
    display: flex;
    animation: nav-drop-in 0.22s ease-out;
  }

  @keyframes nav-drop-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .site-nav.is-open {
      animation: none;
    }
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--stone-200);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 1.1rem;
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-list a:hover {
    background: var(--teal-50);
  }

  .nav-list .nav-cta {
    margin: 0.5rem 0.75rem 0.65rem;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
  }

  .nav-list li:last-child a.nav-cta:hover {
    background: var(--teal-700);
    color: #fff !important;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--teal-50) 0%, var(--white) 55%, var(--teal-100) 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 5rem 1.25rem 6rem;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-800);
  background: rgba(13, 148, 136, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--stone-900);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--stone-700);
  margin: 0 0 1.75rem;
  max-width: 36ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--teal-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-700);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-600);
}

.btn-secondary:hover {
  background: var(--teal-50);
  color: var(--teal-900);
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--stone-200);
}

.hero-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--stone-900);
  margin: 0 0 1rem;
}

.hero-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.hero-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--stone-200);
}

.hero-hours li span {
  text-align: right;
}

.hero-hours li:last-child {
  border-bottom: 0;
}

.hero-hours strong {
  color: var(--stone-900);
  font-weight: 600;
}

.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--stone-500);
}

.hero-note a {
  color: var(--teal-700);
  font-weight: 600;
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  color: var(--stone-900);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--stone-700);
}

/* Services */
#sluzby {
  background: #fff;
}

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

@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--teal-50);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal-900);
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--stone-700);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--teal-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* Why */
#preco-my {
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-50) 100%);
}

.feature-row {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--teal-600);
}

.feature-list strong {
  color: var(--stone-900);
}

.quote-box {
  background: var(--teal-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.quote-box blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  font-style: italic;
}

.quote-box cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
  opacity: 0.9;
}

/* Contact */
#kontakt {
  background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 45%, var(--teal-50) 100%);
  color: var(--stone-700);
  border-top: 1px solid rgba(13, 148, 136, 0.12);
}

#kontakt .section-head--contact h2 {
  color: var(--stone-900);
}

#kontakt .section-head--contact p {
  color: var(--stone-700);
}

.contact-layout {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
  min-width: 0;
}

.contact-layout > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.25rem;
  }
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.contact-card-unified {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-snippet {
  padding: 1.35rem 1.35rem 1.3rem;
}

.contact-snippet--divider {
  border-top: 1px solid var(--stone-200);
  padding-top: 1.3rem;
  padding-bottom: 1.35rem;
}

.contact-snippet h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--stone-900);
  margin: 0 0 0.85rem;
}

.contact-address {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--stone-700);
}

.contact-dl {
  margin: 0;
}

.contact-dl__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--stone-200);
}

.contact-dl__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-dl__row:first-child {
  padding-top: 0;
}

.contact-dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--stone-500);
  padding-top: 0.35rem;
}

.contact-dl dd {
  margin: 0;
}

.contact-dl dd a {
  color: var(--teal-800);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.contact-dl dd a:hover {
  text-decoration: underline;
}

.contact-tel {
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}

.contact-map-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow);
  background: var(--stone-200);
}

.contact-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#poistovne {
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-50) 100%);
}

.section-obvod {
  background: #fff;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

#zdravotny-obvod {
  scroll-margin-top: 5rem;
}

.insurance-brands {
  list-style: none;
  margin: 0 auto;
  padding: 0.25rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  max-width: 56rem;
}

@media (min-width: 520px) {
  .insurance-brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    column-gap: 0;
    row-gap: 1.5rem;
  }

  .insurance-brands > li {
    border-left: 1px solid var(--stone-200);
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .insurance-brands > li:first-child {
    border-left: 0;
    padding-left: 0;
    padding-right: 1.75rem;
  }

  .insurance-brands > li:last-child {
    padding-right: 0;
  }
}

.insurance-brands > li {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.insurance-logo {
  margin: 0;
  width: fit-content;
  max-width: min(17.5rem, 100%);
  height: 9rem;
  padding: 0.35rem 0.75rem;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insurance-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 6.5rem;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.obvod-panel {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.obvod-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem 1.5rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--stone-200);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--stone-800);
}

.obvod-lead__item {
  display: block;
  min-width: 0;
}

.obvod-lead__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--stone-500);
  margin-bottom: 0.2rem;
}

.obvod-lead__sep {
  width: 1px;
  align-self: stretch;
  min-height: 2.75rem;
  background: var(--stone-200);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .obvod-lead__sep {
    display: none;
  }

  .obvod-lead {
    flex-direction: column;
    gap: 0.85rem;
  }
}

.obvod-list-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-900);
  margin: 0 0 0.75rem;
}

.obvod-streets {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--stone-700);
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 480px) {
  .obvod-streets {
    column-count: 2;
  }
}

.obvod-streets li {
  break-inside: avoid;
  padding: 0.2rem 0;
  padding-left: 0.75rem;
  position: relative;
}

.obvod-streets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--teal-600);
}

.obvod-streets--plain {
  column-count: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.75rem, 1fr));
  gap: 0.35rem 1.25rem;
  font-size: 0.9rem;
}

.obvod-streets--plain li {
  padding-left: 0;
  border-bottom: 1px dotted rgba(120, 113, 108, 0.35);
  padding-bottom: 0.35rem;
  margin: 0;
}

.obvod-streets--plain li::before {
  display: none;
}

@media (min-width: 640px) {
  .obvod-streets--plain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Footer */
.site-footer {
  background: #0c0a09;
  color: #78716c;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer a {
  color: #a8a29e;
}

.site-footer strong {
  color: #d6d3d1;
  font-weight: 600;
}
