:root {
    --cream: #FDF8F0;
    --warm-white: #FEFCF8;
    --sage: #7A9E7E;
    --sage-dark: #5C7E60;
    --sage-light: #E8F0E9;
    --terracotta: #C4806A;
    --terracotta-light: #F5E0D8;
    --text-primary: #2D3436;
    --text-secondary: #5A6368;
    --text-muted: #8B9599;
    --border: #E8E2D8;
    --shadow-soft: 0 2px 20px rgba(45, 52, 54, 0.06);
    --shadow-medium: 0 8px 40px rgba(45, 52, 54, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
  }
  nav.scrolled { box-shadow: var(--shadow-soft); }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text-primary);
  }
  .nav-logo-img {
    width: 44px; height: 44px; border-radius: 10px;
    object-fit: contain;
  }
  .nav-logo-text { font-family: 'DM Serif Display', serif; font-size: 0.95rem; line-height: 1.25; }
  .nav-links { display: flex; gap: 8px; align-items: center; }
  .nav-links a {
    text-decoration: none; color: var(--text-secondary);
    padding: 8px 16px; border-radius: 8px; font-size: 0.92rem;
    font-weight: 500; transition: all 0.2s;
  }
  .nav-links a:hover { color: var(--sage-dark); background: var(--sage-light); }
  .nav-cta {
    background: var(--sage) !important; color: white !important;
    padding: 10px 22px !important; border-radius: 50px !important;
    font-weight: 600 !important; transition: all 0.25s !important;
  }
  .nav-cta:hover { background: var(--sage-dark) !important; transform: translateY(-1px); }

  .mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; position: relative;
  }
  .mobile-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text-primary);
    position: absolute; left: 7px; transition: all 0.3s;
  }
  .mobile-toggle span:nth-child(1) { top: 10px; }
  .mobile-toggle span:nth-child(2) { top: 17px; }
  .mobile-toggle span:nth-child(3) { top: 24px; }

  /* ─── HERO ─── */
  .hero {
    padding: 140px 32px 80px;
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    min-height: 90vh;
  }
  .hero-content { animation: fadeUp 0.8s ease-out; }
  .hero-logo {
    width: 140px; height: 140px; object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(196, 128, 106, 0.25));
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage-light); color: var(--sage-dark);
    padding: 6px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px;
  }
  .hero-badge::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--sage); animation: pulse 2s infinite;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15; color: var(--text-primary);
    margin-bottom: 20px;
  }
  .hero h1 em {
    font-style: normal; color: var(--sage);
    position: relative;
  }
  .hero h1 em::after {
    content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
    height: 8px; background: var(--sage-light); border-radius: 4px; z-index: -1;
  }
  .hero p {
    font-size: 1.15rem; color: var(--text-secondary);
    max-width: 480px; margin-bottom: 36px; line-height: 1.8;
  }
  .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-size: 0.95rem;
    font-weight: 600; text-decoration: none; transition: all 0.25s;
    cursor: pointer; border: none; font-family: inherit;
  }
  .btn-primary { background: var(--sage); color: white; }
  .btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,158,126,0.3); }
  .btn-secondary { background: var(--warm-white); color: var(--text-primary); border: 1.5px solid var(--border); }
  .btn-secondary:hover { border-color: var(--sage); color: var(--sage-dark); }

  .hero-visual {
    position: relative; animation: fadeUp 0.8s ease-out 0.15s both;
  }
  .hero-card {
    background: white; border-radius: 24px; padding: 48px;
    box-shadow: var(--shadow-medium); position: relative; overflow: hidden;
  }
  .hero-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: var(--sage-light); opacity: 0.5;
  }
  .hero-card::after {
    content: ''; position: absolute; bottom: -40px; left: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: var(--terracotta-light); opacity: 0.4;
  }
  .hero-card-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin-bottom: 24px; position: relative; z-index: 1;
  }
  .hero-card h3 {
    font-size: 1.5rem; margin-bottom: 12px; position: relative; z-index: 1;
  }
  .hero-card p {
    color: var(--text-secondary); font-size: 0.95rem;
    position: relative; z-index: 1;
  }
  .hero-stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    margin-top: 20px; position: relative; z-index: 1;
  }
  .hero-stat {
    text-align: center; padding: 16px 8px;
    background: var(--cream); border-radius: var(--radius-sm);
  }
  .hero-stat strong {
    display: block; font-size: 1.5rem; color: var(--sage-dark);
    font-family: 'DM Serif Display', serif;
  }
  .hero-stat span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

  /* ─── SECTIONS ─── */
  section { padding: 80px 32px; }
  section[id] { scroll-margin-top: 80px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-header { text-align: center; margin-bottom: 56px; }
  .section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
  .section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
  .section-label {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    color: var(--sage); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px;
  }

  /* ─── ABOUT ─── */
  #about { background: var(--cream); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
  }
  .about-image {
    background: linear-gradient(135deg, var(--sage-light), var(--terracotta-light));
    border-radius: 24px; aspect-ratio: 4/5; position: relative; overflow: hidden;
  }
  .about-image-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--sage-dark); opacity: 0.7;
  }
  .about-image-placeholder svg { width: 80px; height: 80px; margin-bottom: 12px; opacity: 0.5; }
  .about-image-placeholder span { font-size: 0.85rem; font-weight: 500; }
  .about-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
  .about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.02rem; }
  .about-highlights {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
  }
  .about-highlight {
    padding: 20px; background: var(--cream); border-radius: var(--radius-sm);
  }
  .about-highlight strong { display: block; color: var(--sage-dark); margin-bottom: 4px; font-size: 0.95rem; }
  .about-highlight span { font-size: 0.85rem; color: var(--text-muted); }

  /* ─── HOURS ─── */
  #hodiny { background: white; }
  .hours-card {
    max-width: 900px; margin: 0 auto;
    background: white; border-radius: 24px;
    box-shadow: var(--shadow-medium); overflow: hidden;
  }
  .hours-header {
    padding: 40px 40px 8px; text-align: center;
  }
  .hours-header h3 { font-size: 1.8rem; color: var(--sage-dark); }
  .hours-body { padding: 16px 40px 40px; }
  .hours-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
  .hours-th-day { width: 140px; }
  .hours-th-acute,
  .hours-th-booked {
    text-align: center; font-family: 'Source Sans 3', sans-serif;
    font-weight: 600; font-size: 0.9rem; padding: 14px 16px;
    border-radius: 12px;
  }
  .hours-th-acute { background: var(--terracotta-light); color: var(--terracotta); }
  .hours-th-booked { background: var(--sage-light); color: var(--sage-dark); }
  .hours-th-note { background: transparent; }
  .hours-td-day {
    font-weight: 600; font-size: 0.95rem; color: var(--text-primary);
    padding: 18px 16px; vertical-align: middle;
    border-bottom: 1px solid var(--border);
  }
  .hours-td-acute {
    text-align: center; padding: 14px 12px; vertical-align: middle;
    background: var(--terracotta-light); border-radius: 10px;
    font-size: 0.92rem; color: var(--terracotta); font-weight: 500;
  }
  .hours-td-note {
    text-align: center; padding: 14px 8px; vertical-align: middle;
    font-size: 0.82rem; color: var(--text-muted); font-style: italic;
  }
  .hours-td-booked {
    text-align: center; padding: 14px 12px; vertical-align: middle;
    background: var(--sage-light); border-radius: 10px;
    font-size: 0.92rem; color: var(--sage-dark); font-weight: 500;
    line-height: 1.6;
  }

  /* ─── MEDEVIO ─── */
  #objednani { background: white; }
  .medevio-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    background: linear-gradient(135deg, var(--sage-light), #dceedd);
    border-radius: 24px; padding: 60px;
    position: relative; overflow: hidden;
  }
  .medevio-layout::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(122, 158, 126, 0.15);
  }
  .medevio-text { position: relative; z-index: 1; }
  .medevio-text h2 { font-size: 1.8rem; margin-bottom: 16px; }
  .medevio-text p {
    color: var(--text-secondary); font-size: 1rem;
    margin-bottom: 16px; line-height: 1.7;
  }
  .medevio-image {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
  }
  .medevio-image img {
    max-width: 100%; height: auto;
    filter: drop-shadow(0 12px 32px rgba(45, 52, 54, 0.15));
  }
  .medevio-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--sage-dark); color: white;
    padding: 18px 40px; border-radius: 50px;
    font-size: 1.05rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s;
    position: relative; z-index: 1;
    box-shadow: 0 4px 20px rgba(92, 126, 96, 0.3);
  }
  .medevio-btn:hover {
    background: #4a6b4e; transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(92, 126, 96, 0.4);
  }
  .medevio-btn svg { width: 20px; height: 20px; }
  .medevio-features {
    display: flex; flex-wrap: wrap; gap: 20px;
    margin-top: 24px; position: relative; z-index: 1;
  }
  .medevio-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; color: var(--sage-dark); font-weight: 500;
  }
  .medevio-feature svg { width: 18px; height: 18px; }

  /* ─── CONTACT ─── */
  #kontakt { background: var(--cream); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  }
  .contact-info { display: flex; flex-direction: column; gap: 24px; }
  .contact-card {
    background: white; border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow-soft); transition: transform 0.2s;
  }
  .contact-card:hover { transform: translateY(-3px); }
  .contact-card-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 22px;
  }
  .contact-card-icon.address { background: var(--sage-light); }
  .contact-card-icon.phone { background: var(--terracotta-light); }
  .contact-card-icon.email { background: #E0E8F5; }
  .contact-card h4 { font-family: 'Source Sans 3', sans-serif; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
  .contact-card p { color: var(--text-secondary); font-size: 0.92rem; }
  .contact-card a { color: var(--sage-dark); text-decoration: none; font-weight: 500; }
  .contact-card a:hover { text-decoration: underline; }

  .contact-map {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-medium); min-height: 400px;
    background: var(--border);
  }
  .contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: none; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--text-primary); color: rgba(255,255,255,0.6);
    padding: 48px 32px; text-align: center;
  }
  footer .footer-inner { max-width: 1200px; margin: 0 auto; }
  footer p { font-size: 0.88rem; }
  footer a { color: var(--sage-light); text-decoration: none; }
  footer a:hover { color: white; }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  .fade-in {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-top: 120px; }
    .hero-visual { order: -1; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { max-height: 360px; }
    .contact-grid { grid-template-columns: 1fr; }
    .medevio-features { flex-direction: column; align-items: flex-start; gap: 12px; }
    .medevio-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
    .medevio-image { order: -1; }
    .medevio-image img { max-width: 300px; }
  }

  @media (max-width: 680px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 72px; left: 0; right: 0;
      background: var(--cream); padding: 16px 24px;
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
    }
    section { padding: 56px 20px; }
    .hero { padding: 110px 20px 56px; }
    .hero-card { padding: 32px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hours-body { padding: 12px 16px 24px; }
    .hours-header { padding: 24px 16px 8px; }
    .hours-table, .hours-table thead, .hours-table tbody, .hours-table tr, .hours-table th, .hours-table td {
      display: block; width: 100%;
    }
    .hours-table thead { margin-bottom: 8px; }
    .hours-table thead tr { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
    .hours-th-day { display: none; }
    .hours-th-acute, .hours-th-booked { flex: 1; min-width: 120px; font-size: 0.82rem; padding: 10px; }
    .hours-table tbody tr {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 8px; margin-bottom: 16px; padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }
    .hours-td-day { grid-column: 1 / -1; border-bottom: none; padding: 8px 0 0; }
    .medevio-layout { padding: 32px 20px; }
    .about-highlights { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { justify-content: center; }
  }