/* mirenmedic-custom — design tokens (verified against live site 2026-07-26)
   Deep green + cream + beige + gold. DM Serif Display headings, Montserrat body. */
:root {
  --mm-green: #0f3e35;        /* primary brand green: header, footer, buttons, hero bg */
  --mm-green-deep: #123c39;   /* cenovnik teal */
  --mm-green-soft: #6f8f8a;   /* muted green (section bg tints, success) */
  --mm-cream: #f6f9f7;        /* page background */
  --mm-cream-deep: #e8efe9;
  --mm-beige: #f5edd8;        /* beige cards (Estetika card, highlights) */
  --mm-beige-card: #efe6d4;
  --mm-gold: #c59d5f;         /* gold accents, eyebrows, role labels */
  --mm-gold-soft: #c9a87c;    /* hover/focus accents */
  --mm-gold-light: #ffeccb;
  --mm-charcoal: #2c2826;     /* body text */
  --mm-mute: #8a7d72;         /* secondary text */
  --mm-line: rgba(44, 40, 38, 0.10);
  --mm-white: #fff;
  --mm-error: #b8595a;
  --mm-ok: #6f8f6a;

  --mm-font-serif: 'DM Serif Display', Georgia, serif;
  --mm-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --mm-radius-card: 18px;
  --mm-radius-tile: 14px;
  --mm-radius-pill: 999px;
  --mm-shadow-card: 0 30px 60px -30px rgba(44, 40, 38, 0.25);
  --mm-shadow-tile: 0 12px 24px -16px rgba(44, 40, 38, 0.2);

  --mm-container: 1240px;
  --mm-container-narrow: 880px;
  --mm-pad-x: clamp(16px, 4vw, 40px);
  --mm-section-y: clamp(48px, 7vw, 96px);
}

/* ------------------------------------------------ reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mm-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--mm-charcoal);
  background: var(--mm-cream);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--mm-green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--mm-gold); }

h1, h2, h3 { font-family: var(--mm-font-serif); font-weight: 400; line-height: 1.15; color: var(--mm-green); margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4, h5 { font-family: var(--mm-font-body); font-weight: 600; color: var(--mm-green); margin: 0 0 0.5em; }
h1 em, h2 em { font-style: italic; color: var(--mm-gold); }

.mm-container { max-width: var(--mm-container); margin: 0 auto; padding: 0 var(--mm-pad-x); }
.mm-container--narrow { max-width: var(--mm-container-narrow); }
.mm-section { padding: var(--mm-section-y) 0; }
.mm-section--green { background: var(--mm-green); color: var(--mm-cream); }
.mm-section--green h2, .mm-section--green h3 { color: var(--mm-cream); }
.mm-section--beige { background: var(--mm-beige); }
.mm-section--white { background: var(--mm-white); }

.mm-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--mm-gold);
  margin: 0 0 14px;
}

/* buttons */
.mm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mm-font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--mm-radius-pill); padding: 15px 30px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.mm-btn--solid { background: var(--mm-green); color: var(--mm-cream); }
.mm-btn--solid:hover { background: var(--mm-gold); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(184,153,104,.6); }
.mm-btn--ghost { border-color: rgba(44,40,38,.18); color: var(--mm-green); background: transparent; }
.mm-btn--ghost:hover { background: var(--mm-green); color: var(--mm-cream); }
.mm-btn--light { background: var(--mm-cream); color: var(--mm-green); }
.mm-btn--light:hover { background: var(--mm-gold); color: #fff; }

/* cards */
.mm-card {
  background: var(--mm-white); border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius-card); box-shadow: var(--mm-shadow-card);
}
.mm-tile {
  background: var(--mm-white); border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius-tile); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mm-tile:hover { transform: translateY(-3px); box-shadow: var(--mm-shadow-tile); border-color: var(--mm-gold-soft); }

/* price table (shared: specialties, cenovnik embeds) */
.mm-prices { width: 100%; border-collapse: collapse; background: var(--mm-white); border: 1px solid var(--mm-line); border-radius: 12px; overflow: hidden; }
.mm-prices th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-mute); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--mm-line); background: var(--mm-cream); }
.mm-prices td { padding: 12px 16px; border-bottom: 1px solid var(--mm-line); font-size: 15px; }
.mm-prices tr:last-child td { border-bottom: 0; }
.mm-prices td:last-child { white-space: nowrap; font-weight: 600; color: var(--mm-green); }

/* FAQ accordion */
.mm-faq { border: 1px solid var(--mm-line); border-radius: 12px; background: var(--mm-white); margin-bottom: 10px; }
.mm-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--mm-green); font-size: 15px; }
.mm-faq summary::-webkit-details-marker { display: none; }
.mm-faq summary::after { content: "›"; font-size: 20px; color: var(--mm-gold); transform: rotate(90deg); transition: transform .2s ease; flex: 0 0 auto; }
.mm-faq[open] summary::after { transform: rotate(-90deg); }
.mm-faq__body { padding: 0 20px 18px; font-size: 15px; color: var(--mm-charcoal); }

/* doctor card */
.mm-doc { text-align: center; padding: 28px 20px; }
.mm-doc__photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; background: var(--mm-green); }
.mm-doc__photo img { width: 100%; height: 100%; object-fit: cover; }
.mm-doc__name { font-family: var(--mm-font-serif); font-size: 20px; color: var(--mm-charcoal); margin: 0 0 6px; }
.mm-doc__role { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mm-gold); margin: 0 0 16px; min-height: 2.4em; }

/* helpers */
.mm-grid { display: grid; gap: 22px; }
.mm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mm-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .mm-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mm-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mm-grid--2, .mm-grid--3, .mm-grid--4 { grid-template-columns: 1fr; }
}
.mm-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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