/* ==========================================================================
   GynValmez s.r.o. — Design tokens & base
   ========================================================================== */

:root {
  --mint: #4F9C84;
  --mint-dark: #1E4A3D;
  --mint-deep: #163B31;
  --mint-light: #E8F3EE;
  --sand: #F4ECDF;
  --sand-soft: #FAF5EC;
  --white: #FFFFFF;
  --text: #3A3A3A;
  --text-muted: #767676;
  --text-on-dark: #EAF3EF;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 20px rgba(30, 74, 61, 0.05);
  --shadow-md: 0 16px 48px rgba(30, 74, 61, 0.10);

  --container: 1140px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; position: relative; }

.section--alt {
  background: linear-gradient(180deg, var(--sand-soft) 0%, #FDFAF5 100%);
}

@media (max-width: 720px) {
  section { padding: 52px 0; }
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--mint-deep);
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 600; }
h1 .accent { color: var(--mint); display: block; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

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

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head--left {
  margin: 0 0 28px;
  text-align: left;
  max-width: none;
}

.section-head p { color: var(--text-muted); }

.cenik-title {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: 0;
  color: var(--mint);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Buttons & pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: var(--mint);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--mint-dark); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: var(--white);
  color: var(--mint-dark);
  border: 1.5px solid var(--mint);
}
.btn--ghost:hover { background: var(--mint-light); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--mint-light);
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.pill svg { width: 16px; height: 16px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(30, 74, 61, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mint-deep);
}

.brand .brand-mark svg,
.brand .brand-mark img { width: 38px; height: auto; display: block; }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-line1 { line-height: 1; margin-bottom: 2px; }

.brand-name {
  font-family: 'Playfair Display', 'Manrope', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--mint);
  line-height: 1;
}

.brand-line2 {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.brand-line3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--mint-dark);
  line-height: 1.2;
}

.brand-suffix {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 3px;
  vertical-align: super;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--mint-dark);
  border-color: var(--mint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .pill { background: var(--mint); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--mint-dark); }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .header-actions .pill span { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { overflow: hidden; position: relative; }

.hero-watermark {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 620px;
  max-width: 60%;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 44px;
  padding-bottom: 12px;
}

.hero-copy { max-width: 620px; }

.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.hero-subtitle {
  font-weight: 700;
  color: var(--mint);
  font-size: 1.55rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hero p.lead { font-size: 1.1rem; font-weight: 400; color: var(--text-muted); max-width: 46ch; line-height: 1.7; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint-dark);
  font-weight: 700;
  background: var(--mint-light);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  margin: 8px 0 28px;
}
.hero-note svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 860px) {
  .hero-watermark { width: 420px; opacity: 0.09; }
}

/* ==========================================================================
   Cards (Poskytovaná péče)
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.care-card {
  background: var(--mint-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.care-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.care-card .icon-badge {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.care-card .icon-badge svg { width: 26px; height: 26px; color: var(--mint-dark); }

.care-card h3 { margin-bottom: 12px; }
.care-card p { color: var(--text-muted); font-size: 0.97rem; margin: 0; line-height: 1.7; text-align: left; }

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Ordinační doba
   ========================================================================== */

.hours-table {
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 20px 36px;
  border-bottom: 1px solid rgba(30, 74, 61, 0.06);
  font-weight: 600;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--mint-deep); }
.hours-row .time { color: var(--text-muted); font-weight: 700; }
.hours-row .time.note { font-style: normal; color: var(--mint); }

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 26px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-item .icon-badge {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--mint-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .icon-badge svg { width: 20px; height: 20px; color: var(--mint-dark); }

.contact-item .label { font-weight: 700; color: var(--mint-deep); margin-bottom: 2px; }
.contact-item .value { color: var(--text-muted); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Aktuality
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--mint-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.news-card .icon-badge {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.news-card .icon-badge svg { width: 22px; height: 22px; color: var(--mint-dark); }
.news-card .news-date { font-size: 0.8rem; font-weight: 700; color: var(--mint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.news-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.news-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 14px; }
.news-card .news-link { font-weight: 700; font-size: 0.88rem; color: var(--mint-dark); display: inline-flex; align-items: center; gap: 6px; }
.news-card .news-link svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-list { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin: 0 auto; }

.news-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}
.news-item .news-date { font-size: 0.82rem; font-weight: 700; color: var(--mint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.news-item p { margin: 0; color: var(--text); }

.news-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1.5px dashed rgba(30, 74, 61, 0.16);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   Ceník
   ========================================================================== */

.price-list {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 36px;
  border-bottom: 1px solid rgba(30, 74, 61, 0.06);
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--sand-soft); }
.price-row .item { font-weight: 600; color: var(--text); }
.price-row .price {
  font-weight: 800;
  color: var(--mint-dark);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 620px;
  margin: 20px auto 0;
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.team-card {
  background: var(--sand-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.team-card .avatar {
  width: 100%;
  max-width: 165px;
  aspect-ratio: 460 / 743;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: var(--sand-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--mint); font-weight: 700; font-size: 0.9rem; }

@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Jak se objednat / steps
   ========================================================================== */

.order-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  padding: 36px;
  text-align: center;
}
.pill-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.order-panel .pill-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(22, 59, 49, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-md);
  transform: translateY(12px);
  transition: transform var(--transition);
  position: relative;
}
.modal-overlay.is-open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--sand-soft);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.modal-close svg { width: 16px; height: 16px; }

.modal .pill-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.modal .pill { justify-content: center; flex: 1 1 180px; padding: 14px 20px; font-size: 0.95rem; }
.modal .pill--outline {
  background: var(--white);
  color: var(--mint-dark);
  border: 1.5px solid rgba(30, 74, 61, 0.18);
}
.modal .pill.is-disabled { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--mint-light);
  color: var(--text);
  padding: 76px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(30, 74, 61, 0.12);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

.footer-hours { display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; }
.footer-hours .row { display: flex; justify-content: flex-start; gap: 16px; }
.footer-hours .day { color: var(--text-muted); width: 28px; flex-shrink: 0; }
.footer-hours .time { color: var(--mint-deep); font-weight: 600; }

.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.footer-brand svg,
.footer-brand img { width: 36px; height: auto; }
.footer-brand .brand-name { color: var(--mint-deep); font-size: 1.35rem; }
.footer-brand .brand-suffix { color: var(--text-muted); }

.site-footer h4 {
  color: var(--mint-deep);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.site-footer a, .site-footer p { color: var(--text-muted); }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--mint-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.section-panel {
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  padding: 40px 40px;
}

.section-panel--sand { background: var(--sand-soft); }
.section-panel--mint { background: var(--mint-light); }

.section-panel--compact {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 32px;
  box-shadow: var(--shadow-md);
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.insurance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.section-panel--narrow {
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 40px;
}

@media (max-width: 720px) {
  .section-panel { padding: 36px 24px; border-radius: 24px; }
}

.info-panel {
  background: var(--mint-light);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.1fr;
  gap: 48px;
}

.info-col h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; margin-bottom: 22px;
}
.info-col h3 svg { width: 19px; height: 19px; color: var(--mint); flex-shrink: 0; }

.info-hours-list { display: flex; flex-direction: column; gap: 12px; }
.info-hours-list .row { display: flex; justify-content: space-between; font-size: 0.92rem; }
.info-hours-list .row .day { font-weight: 600; color: var(--text); }
.info-hours-list .row .time { color: var(--text-muted); font-weight: 600; }
.info-hours-list .row .time.note { color: var(--mint); }

.info-contact-list { display: flex; flex-direction: column; gap: 16px; font-size: 0.92rem; }
.info-contact-list a { color: var(--text); font-weight: 600; }
.info-contact-list .muted { color: var(--text-muted); }

.info-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 220px;
}
.info-map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-panel { padding: 32px 24px; }
}
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.page-hero {
  padding: 96px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(79,156,132,0.09) 0%, rgba(79,156,132,0) 70%);
  pointer-events: none;
  z-index: -1;
}
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
