/* ════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-lt);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(11, 45, 94, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  height: 76px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
  font-family: var(--font-nav);
}
.nav-link {
  padding: 6px 13px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--blue);
}
.nav-link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-cta {
  flex-shrink: 0;
  margin-left: 0.75rem;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  color: var(--navy);
  margin-left: auto;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  padding: 1.25rem 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(11, 45, 94, 0.11);
  z-index: 99;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.22s,
    transform 0.22s;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu .nav-link {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: 0.97rem;
  border-right: none;
}

/* ════════════════════════════════════════════
   SHARED SECTION ATOMS
════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 52px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.label-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 18px;
}
.label-line::before,
.label-line::after {
  content: "";
  flex: 0 0 30px;
  height: 1px;
  background: var(--border);
}
.label-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}
.label-tag::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--blue-mid);
  border-radius: 2px;
}
.section-sub {
  color: var(--text-soft);
  font-size: 0.97rem;
  max-width: 600px;
  margin: 10px auto 0;
  line-height: 1.75;
}

/* icon circle helper */
.ico-circle {
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-pale2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.ico-circle i {
  font-size: 16px;
  line-height: 1;
  color: inherit;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  background: #f4f8f3;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 580px;
  max-height: 880px;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* subtle left organic shape */
.hero::before {
  content: "";
  position: absolute;
  left: -140px;
  top: 50px;
  width: 340px;
  height: 400px;
  border-radius: 45% 55% 62% 38% / 50% 48% 52% 50%;
  background: #b8d0bb;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
}

.hero-copy {
  padding-top: 56px;
  padding-bottom: 40px;
}

/* headline — 60fr column keeps "работното място" on one line */
.hero-copy h1 {
  font-family: "Playfair Display", "Roboto Slab", Georgia, serif;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.hero-copy .label-tag {
  margin-bottom: 12px;
}
.hero-lead {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.68;
  margin-bottom: 20px;
  max-width: 500px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.stat-item .ico-circle {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.stat-item .ico-circle svg {
  width: 16px;
  height: 16px;
}
.stat-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.stat-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.stat-item + .stat-item {
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

/* right column — clean card composition */
.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0 36px 16px;
}

/* primary blob — large, upper-right, bleeds beyond card */
.hero-blob {
  position: absolute;
  right: -48px;
  top: -10px;
  width: 420px;
  height: 460px;
  border-radius: 60% 40% 52% 48% / 48% 56% 44% 52%;
  background: #c5dbc8;
  opacity: 0.88;
  z-index: 1;
  pointer-events: none;
}

/* secondary blob — lower-left accent */
.hero-blob-b {
  position: absolute;
  left: -16px;
  bottom: 20px;
  width: 240px;
  height: 200px;
  border-radius: 50% 50% 44% 56% / 56% 44% 56% 44%;
  background: #b8d0bb;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

/* dot grid — between blobs and card */
.hero-dots {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 96px;
  background-image: radial-gradient(
    circle,
    rgba(24, 56, 41, 0.3) 2.5px,
    transparent 2.5px
  );
  background-size: 18px 18px;
  z-index: 2;
  pointer-events: none;
}

/* image — rounded card in front of blobs */
.hero-doctor {
  position: relative;
  z-index: 3;
  width: 100%;
  height: calc(100% - 150px);
  display: block;
  object-fit: cover;
  object-position: right top;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(24, 56, 41, 0.18);
}

/* scroll hint — absolutely pinned to hero bottom, always in viewport */
.scroll-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-soft);
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  z-index: 5;
  animation: bounceDown 2s ease-in-out infinite;
}
.scroll-hint .scroll-mouse {
  width: 16px;
  height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}
.scroll-hint .scroll-mouse::before {
  content: "";
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
}
.scroll-hint svg {
  width: 14px;
  height: 14px;
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* ════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════ */
.section-services {
  background: var(--section-bg);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.section-services::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(
    circle,
    rgba(11, 45, 94, 0.1) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
}

/* ── Accordion ───────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.accordion-item.open {
  box-shadow: 0 6px 28px rgba(24, 56, 41, 0.11);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.accordion-trigger:hover .accordion-title {
  color: var(--navy);
}

.accordion-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-pale2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background 0.2s;
}
.accordion-ico svg {
  width: 22px;
  height: 22px;
}
.accordion-item.open .accordion-ico {
  background: var(--blue-pale);
}

.accordion-title {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color 0.2s;
}
.accordion-item:not(.open) .accordion-title {
  font-weight: 400;
  color: var(--text-soft);
}

.accordion-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-soft);
  transition:
    transform 0.32s ease,
    color 0.2s;
}
.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.accordion-item.open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  overflow: hidden;
}

/* checkmark list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 4px 22px 20px 22px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid var(--border-lt);
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.65;
}
.check-list li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--blue);
}

/* ════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.section-about {
  background: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.section-about::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(
    circle,
    rgba(11, 45, 94, 0.1) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
}

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

.about-copy h2 {
  margin-bottom: 20px;
}
.about-copy > p {
  color: var(--text-soft);
  font-size: 0.97rem;
  margin-bottom: 14px;
}

.about-offices {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-offices .ico-circle {
  width: 38px;
  height: 38px;
  margin-top: 2px;
}
.about-offices .ico-circle svg {
  width: 16px;
  height: 16px;
}
.offices-label {
  display: block;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--blue);
  margin-bottom: 3px;
}
.offices-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(11, 45, 94, 0.14);
}
.about-img-wrap img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ════════════════════════════════════════════
   TEAM
════════════════════════════════════════════ */
.section-team {
  background: var(--section-bg);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.section-team::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(
    circle,
    rgba(11, 45, 94, 0.08) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  pointer-events: none;
}

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

.team-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 22px 30px;
  border: 1px solid var(--border-lt);
  text-align: center;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.team-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--blue-pale2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--navy);
}
.team-icon-wrap i {
  font-size: 38px;
  line-height: 1;
  color: inherit;
}

.team-card h3 {
  font-family: var(--font-nav);
  font-size: 1rem;
  margin-bottom: 6px;
}
.team-card p {
  color: var(--text-soft);
  font-size: 0.86rem;
  margin: 0;
}

/* ════════════════════════════════════════════
   CERTIFICATES
════════════════════════════════════════════ */
.section-certs {
  background: var(--white);
  padding: var(--section-pad) 0;
}

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

.cert-card {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.cert-card:hover {
  box-shadow: var(--shadow-hover);
}

.cert-thumb {
  position: relative;
  background: #f6f9fb;
  border-bottom: 1px solid var(--border-lt);
  overflow: hidden;
}
.cert-thumb button {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.cert-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.cert-thumb button:hover img {
  transform: scale(1.04);
}

.cert-zoom {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.2s;
}
.cert-thumb button:hover .cert-zoom {
  opacity: 1;
}
.cert-zoom svg {
  width: 15px;
  height: 15px;
}

.cert-info {
  padding: 18px;
}
.cert-info h3 {
  font-size: 0.93rem;
  margin-bottom: 5px;
}
.cert-info p {
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.btn-cert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn-cert:hover {
  background: var(--blue);
  color: #fff;
}
.btn-cert svg {
  width: 13px;
  height: 13px;
}

/* ════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════ */
.section-contact {
  background: var(--section-bg);
  padding: var(--section-pad) 0;
}

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

.contact-form-wrap .label-tag {
  margin-bottom: 14px;
}
.contact-form-wrap h2 {
  margin-bottom: 10px;
}
.contact-form-wrap > p {
  color: var(--text-soft);
  margin-bottom: 26px;
  font-size: 0.97rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field-group label {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.field-group input,
.field-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
}
.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #b8c8d8;
}
.field-group textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  align-self: flex-start;
  padding: 13px 30px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin: 2px 0 0;
}
.form-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--blue);
}

/* right column */
.contact-info-wrap {
  padding-top: 70px;
}

.cinfo-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 26px;
}
.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cinfo-item .ico-circle {
  width: 44px;
  height: 44px;
}
.cinfo-item .ico-circle svg {
  width: 18px;
  height: 18px;
}
.cinfo-item strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 3px;
}
.cinfo-item p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}
.cinfo-item a {
  color: var(--blue);
}
.cinfo-item a:hover {
  text-decoration: underline;
}
.cinfo-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 3px;
  opacity: 0.75;
}

.map-link-row {
  margin-bottom: 8px;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}
.map-link:hover {
  text-decoration: underline;
}

.map-iframe {
  width: 100%;
  height: 190px;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  display: block;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: #122a1e;
  color: rgba(255, 255, 255, 0.8);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  height: 88px;
  width: auto;
  filter: grayscale(1) invert(1) brightness(2);
  mix-blend-mode: lighten;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ════════════════════════════════════════════
   MODAL
════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 45, 94, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}
.modal-dialog::-webkit-scrollbar {
  display: none;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.modal-close:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.modal-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.modal-caption {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
