:root{
  --bg: #f5f9fc;           /* светъл фон */
  --card: #ffffff;         /* бели картички */
  --muted: #6b7c8f;        /* мек медицински текст */
  --text: #1f2d3d;         /* основен текст */
  --border: #dbe7f1;       /* светли контури */
  --accent: #2fa4c8;       /* медицинско синьо */
  --accent-soft: #e6f4f8;  /* много светло синьо */
  --shadow: 0 8px 20px rgba(0,0,0,0.06);
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img{ max-width: 100%; display: block; }

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

a{ color: inherit; text-decoration: none; }
.link{ text-decoration: underline; text-underline-offset: 3px; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.nav{
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.topbar__inner{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.brand{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  max-width: 420px;
}

.brand__top{
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  font-weight: 800;
    white-space: nowrap;
}

.brand__name{
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 2px;
}
.nav{
  display: flex;
  gap: 14px;
}
.nav a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{ background: rgba(255,255,255,0.06); color: var(--text); }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 600;
}
.btn--primary{
  background: var(--accent);
  color: white;
  border: none;
}
.btn--ghost{
  background: rgba(255,255,255,0.04);
  box-shadow: none;
}

.hero{
  padding: 44px 0 20px;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}
.hero__content h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.accent{ color: var(--accent); }
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: justify;
  font-size: 19px;
}
.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.hero__bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 17px;
}
.hero__image img{
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section{
  padding: 34px 0;
}
.section--muted{
  background: var(--accent-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
h2{ margin: 0 0 16px; font-size: 1.6rem; }
.muted{ color: var(--muted); }
.small{ font-size: 0.92rem; }

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.team{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}
.profile{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}
.profile h3{
  margin: 6px 0 0;
}

.profile .muted{
  margin-top: -4px;
}
.profile img{
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e6f4f8;
}
.profile img{
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e6f4f8;
}

/* само за първия лекар */
.profile img.doctor1{
  object-fit: cover;
  background: #e6f4f8;
  object-position: 50% 30%;
}
/* само за втория лекар */

.profile img.doctor2{
  object-fit: cover;
  background: #e6f4f8;
  object-position: 50% 13%;
}
.booking{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}
.embed-placeholder{
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 16px;
}

.map iframe{
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map__actions{ margin-top: 10px; }

.contact{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}
.contact__card, .contact__form{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}
label{ display: grid; gap: 6px; margin-bottom: 10px; color: var(--muted); }
input, textarea{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus{ border-color: rgba(125,211,252,0.55); }

.footer{
  padding: 22px 0 80px;
  border-top: 1px solid var(--border);
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sticky-call{
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(125,211,252,0.22), rgba(167,139,250,0.18));
  box-shadow: var(--shadow);
  font-weight: 800;
  display: none;
}

@media (max-width: 880px){
  .hero__grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .booking, .contact{ grid-template-columns: 1fr; }
  .nav{ display: none; }
  .team{  grid-template-columns: 1fr;}
  .sticky-call{ display: inline-flex; }
}
