/* ============================================================
   zubarbrno.cz — Custom Styles
   Tokens: teal #29ABE2 | dark #0D7EA3 | light #E0F5FC | red #C0392B
   Fonts: DM Serif Display (headings) + Inter (body)
   ============================================================ */

:root {
  --teal:       #29ABE2;
  --teal-dark:  #0D7EA3;
  --teal-light: #E0F5FC;
  --teal-xlight:#F0FAFF;
  --red:        #C0392B;
  --bg:         #F8FAFB;
  --surface:    #FFFFFF;
  --text:       #1A2634;
  --text-mid:   #4A5568;
  --text-light: #718096;
  --border:     #E2EBF0;

  --shadow-sm:  0 1px 3px rgba(41,171,226,0.08), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 2px 8px rgba(41,171,226,0.10), 0 8px 28px rgba(0,0,0,0.09);
  --shadow-lg:  0 4px 16px rgba(41,171,226,0.12), 0 16px 48px rgba(0,0,0,0.12);

  --radius:     12px;
  --radius-lg:  20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { line-height: 1.75; color: var(--text-mid); }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

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

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
section:nth-child(even) { background: var(--surface); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-xlight);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-heading {
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 150ms ease,
              box-shadow 150ms ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(41,171,226,0.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(41,171,226,0.45);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
}

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,1);
  border-bottom: 1px solid var(--border);
  transition: background 300ms ease, backdrop-filter 300ms ease, box-shadow 300ms ease;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}
.nav-links a:hover {
  color: var(--teal);
  background: var(--teal-xlight);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: color 150ms ease;
}
.nav-phone:hover { color: var(--teal); }
.nav-phone svg { color: var(--teal); flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 150ms ease;
}
.hamburger:hover { background: var(--teal-xlight); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mobile-phone {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}

/* ---- Hero ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/gallery1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,126,163,0.52) 0%, rgba(26,38,52,0.42) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  filter: url(#grain);
  background: #fff;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero-content .hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  line-height: 1.6;
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Hero Urgent Bar (inside hero, bottom strip) ---- */
.hero-urgent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(13,64,83,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 14px 0;
}

.urgent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.urgent-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.urgent-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.urgent-phone {
  color: var(--teal-light);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 150ms ease;
}
.urgent-phone:hover { color: #fff; }

/* ---- Trust Bar ---- */
#trust {
  padding: 48px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.trust-stat {
  background: var(--surface);
  padding: 24px 20px;
  text-align: center;
}

.trust-stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-stat-label {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.insurance-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.insurance-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}

.insurance-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--teal-xlight);
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  white-space: nowrap;
}

.ins-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: none;
  transition: opacity 150ms ease;
}
.ins-logo:hover { opacity: 1; }

/* ---- Services ---- */
#sluzby { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-dark);
}

.service-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---- Dental Hygiena ---- */
#hygiena { background: var(--surface); }

.hygiena-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hygiena-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hygiena-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hygiena-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,126,163,0.25), transparent 50%);
}

.hygiena-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.hygiena-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--teal);
}

.hygiena-price-row span:first-child {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.hygiena-price-row .price {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 14px;
}

.hygiena-discounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.discount-chip {
  padding: 4px 10px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #9A3412;
}

/* ---- O nás ---- */
#o-nas { background: var(--bg); }

.o-nas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.doctor-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doctor-photo-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.doctor-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(41,171,226,0.12);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.doctor-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(26,38,52,0.5), transparent);
  z-index: 2;
}

.credential-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}

.cred-badge {
  padding: 5px 12px;
  background: var(--teal-xlight);
  border: 1px solid rgba(41,171,226,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
}

.bio-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.bio-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bio-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  min-width: 40px;
  padding-top: 2px;
}

.bio-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---- Team ---- */
#tym { background: var(--surface); }

.team-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 28px;
  align-items: start;
}

/* Featured card — Opletalová */
.team-featured {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.team-featured-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-featured-body {
  padding: 28px 32px;
}

.team-featured-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.team-featured-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.team-featured-sub {
  font-size: 14px;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 14px;
}

.team-featured-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.team-featured-badge {
  padding: 4px 10px;
  background: var(--teal-xlight);
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-dark);
}

.team-featured-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Compact list — other team members */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-list-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.team-list-item:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.team-list-item-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.team-list-item-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 5px;
}

.team-list-item-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ---- Ordinační Doba ---- */
#ordinacni-doba { background: var(--bg); }

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.hours-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hours-card-header {
  background: var(--teal);
  padding: 16px 20px;
  color: #fff;
}

.hours-card-header h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2px;
}

.hours-card-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 10px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child td { border-bottom: none; }

.hours-table td:first-child {
  color: var(--text-mid);
  font-weight: 500;
  width: 50%;
}

.hours-table td:last-child {
  color: var(--text);
  font-weight: 600;
}

.hours-table tr.closed td { color: var(--text-light); }

.emergency-box {
  background: linear-gradient(135deg, var(--teal-xlight), #fff);
  border: 1px solid rgba(41,171,226,0.3);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.emergency-box svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.emergency-box h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.emergency-box p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ---- Ceník ---- */
#cenik { background: var(--surface); }

.cenik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cenik-section {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cenik-section-header {
  background: var(--teal);
  padding: 16px 24px;
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
}

.cenik-list {
  list-style: none;
  padding: 8px 0;
}

.cenik-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 150ms ease;
}
.cenik-row:hover { background: var(--teal-xlight); }
.cenik-row:last-child { border-bottom: none; }

.cenik-row span:first-child {
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}

.cenik-price {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cenik-note {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  display: block;
}

.cenik-footer-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  font-size: 13px;
  color: #B91C1C;
  line-height: 1.6;
}

/* ---- Galerie ---- */
#galerie { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: var(--border);
}

/* Span taller for visual variety */
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(8) { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(41,171,226,0);
  transition: background 250ms ease;
  pointer-events: none;
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { background: rgba(41,171,226,0.15); }

/* ---- Pojišťovny ---- */
#pojistovny {
  background: var(--surface);
  padding: 64px 0;
}

.pojistovny-inner {
  text-align: center;
}

.pojistovny-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 24px;
}

.pojistovna-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 24px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.pojistovna-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pojistovna-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
}

.pojistovna-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.pojistovna-logo {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 8px;
}

.pojistovny-note {
  font-size: 14px;
  color: var(--text-mid);
  text-align: center;
  margin-top: 8px;
}

/* ---- Kontakt ---- */
#kontakt { background: var(--bg); }

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

.kontakt-info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
}

.kontakt-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
  margin-top: 20px;
}

.kontakt-info h3:first-child { margin-top: 0; }

.kontakt-phone-big {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 150ms ease;
}
.kontakt-phone-big:hover { color: var(--teal); }

.transport-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.transport-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-mid);
}

.transport-list li span:first-child {
  font-weight: 700;
  color: var(--teal-dark);
  min-width: 80px;
  flex-shrink: 0;
}

.map-and-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 260px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Booking Form ---- */
.booking-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.booking-form h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.15);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-radio-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
}

.form-check label {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
  cursor: pointer;
}

.form-check a { color: var(--teal); }

.form-submit-row {
  margin-top: 16px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(41,171,226,0.35);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background 150ms ease,
              box-shadow 150ms ease;
  font-family: 'Inter', sans-serif;
}
.btn-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41,171,226,0.45);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---- Footer ---- */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  max-width: 260px;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: none;
  opacity: 1;
  background: rgba(255,255,255,0.92);
  padding: 5px 10px;
  border-radius: 8px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-light);
  font-weight: 700;
  font-size: 15px;
  margin-top: 14px;
  transition: color 150ms ease;
}
.footer-phone:hover { color: #fff; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 150ms ease;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 150ms ease;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.9); }

/* ---- Mobile Sticky CTA ---- */
#mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
}

#mobile-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(41,171,226,0.5);
  white-space: nowrap;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 150ms ease;
}
#mobile-cta a:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(41,171,226,0.6);
}
#mobile-cta a:active { transform: scale(0.98); }

/* ---- Scroll Animations ---- */
.animate-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
  #mobile-cta { display: block; }

  section { padding: 64px 0; }

  .hygiena-grid,
  .o-nas-grid,
  .kontakt-grid,
  .cenik-grid { grid-template-columns: 1fr; gap: 32px; }

  .o-nas-grid .doctor-photo-wrap { order: -1; }

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

  .trust-stats { grid-template-columns: repeat(2, 1fr); }

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

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

  .footer-bottom { flex-direction: column; text-align: center; }

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

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(8) { grid-row: auto; }
  .cenik-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .urgent-inner { flex-direction: column; align-items: flex-start; }
}
