/* styles/main.css */

/* base */
:root {
  --bg: #e6f5f6;
  --surface: #ffffff;
  --primary: #0bb1ad;
  --primary-dark: #088581;
  --accent: #055f8a;
  --text: #11313a;
  --muted: #506c74;
  --danger: #ff4766;
  --radius-lg: 1.25rem;
  --radius-md: 1rem;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
  --header-h: 62px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f4feff 0%, #e6f5f6 32%, #e6f5f6 100%);
  color: var(--text);
  line-height: 1.55;
}

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 162, 160, 0.09);
  z-index: 1000;
  transition: transform 0.25s ease;
}

.site-header.hide {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.logo-icon img {
  display: block;
  width: 50px;
  height: auto;
}

.logo-text {
  color: #008ea0;
  line-height: 1.1;
}

.line-1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.line-2 {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
}

.line-2 .plus {
  margin-right: 0.4rem;
  letter-spacing: 0.05em;
}

.line-2 .sro {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

@media (max-width: 800px) {
  .logo-icon img {
    display: block;
    width: 40px;
    height: auto;
  }

  .line-1 {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
  }

  .line-2 {
    font-size: 1.05rem;
  }

  .line-2 .plus {
    margin-right: 0.3rem;
  }

  .line-2 .sro {
    font-size: 0.8rem;
    margin-bottom: 0.05rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.1;
}

.site-header small {
  font-weight: 500;
  font-size: .85rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: .5rem;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  font-size: .9rem;
  padding: .4rem .7rem;
  border-radius: .7rem;
  color: var(--text);
  transition: background .15s;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  background: rgba(11, 177, 173, 0.12);
  color: var(--accent);
}

.primary-btn {
  font-size: .8rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: .8rem;
  padding: .5rem .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s;
  /* margin-left: .4rem; */
}

.primary-btn:hover {
  filter: brightness(1.03);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 38px;
  height: 30px;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
  margin-left: .4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
}

/* mobile panel */
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem 1rem 1rem;
  z-index: 999;
}

.mobile-panel.show {
  display: flex;
}

.mob-link {
  text-decoration: none;
  color: var(--text);
  padding: .35rem 0;
  font-weight: 500;
}

.primary-btn.full {
  width: 100%;
  justify-content: center;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  display: none;
  z-index: 900;
}

.backdrop.show {
  display: block;
}

/* hero */
.hero {
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 3rem;
  max-width: 1200px;
  padding-inline: 1rem;
  margin-inline: auto;
  align-items: center;
}

.hero-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(11, 177, 173, 0.12);
  color: var(--accent);
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: .02em;
}

.hero h1 {
  /* font-size: clamp(2.05rem, 3.1vw, 2.5rem); */
  /* margin-top: .9rem; */
  /* margin-bottom: .4rem; */
  /* margin-bottom: 0; */
}

.biggerHeadline {
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  margin-top: .9rem;
  margin-bottom: 0;
}

.smallerHeadline {
  margin-top: 0;
  font-size: clamp(1.4rem, 2.9vw, 2.37rem);
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-align: justify;
}

.hero-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.ghost-btn {
  background: transparent;
  border: 1px solid rgba(11, 177, 173, 0.25);
  border-radius: .8rem;
  padding: .5rem .95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.info-line {
  font-size: .9rem;
  color: var(--muted);
  max-width: 30rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem 1.05rem;
  max-width: 1200px;
}

.intro-card h2 {
  margin-top: 0;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-block: .5rem .4rem;
}

.hours th,
.hours td {
  text-align: left;
  padding-top: .2rem;
  font-size: .9rem;
}

.hours th {
  width: 35%;
  color: var(--accent);
}

.small-note {
  font-size: 0.9rem;
  color: var(--accent);
}

.small-muted {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 0;
}

.hint-strip {
  margin-top: .85rem;
  background: rgba(252, 243, 228, 0.9);
  border: 1px solid rgba(255, 194, 107, 0.5);
  border-radius: .8rem;
  padding: .4rem .6rem;
  font-size: .65rem;
  display: flex;
  gap: .4rem;
  align-items: center;
}



/* image gallery */

.image-gallery {
  display: flex;
  gap: 1.5rem;
}

.image-gallery img {
  flex: 1 1 0;
  width: 100%;
  max-height: 350px;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
}

/* na menších displejích pod sebe */
@media (max-width: 800px) {
  .image-gallery {
    flex-direction: column;
  }

  .image-gallery img {
    max-height: none;
  }
}









/* section global */
.section {
  max-width: 1200px;
  margin-inline: auto;
  padding: 1rem 1rem 2.25rem;
}

.section-head {
  text-align: center;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin-bottom: .3rem;
}

.section-head p {
  color: var(--muted);
  font-weight: 500;
}

/* services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: .9rem;
  margin-bottom: 1.2rem;
}

.svc-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(8, 133, 129, 0.08);
  padding: .85rem .9rem .9rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .02);
}

.svc-list {
  margin: .4rem 0 0;
  padding-left: 1.05rem;
  font-size: .8rem;
  color: var(--muted);
  display: grid;
  gap: .25rem;
  font-weight: 500;
}

.svc-card h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--accent);
}

.svc-card p {
  font-size: .8rem;
  color: var(--muted);
}

/* team */
.team-diagonal {
  display: grid;
  flex-direction: column;
  gap: 2rem;
}

.card-doc {
  width: 85%;
  margin-right: auto;
}

.card-ses {
  width: 85%;
  margin-left: auto;
}

@media (max-width: 800px) {
  .card-doc {
    width: 100%;
  }

  .card-ses {
    width: 100%;
  }
}

.person-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px
}

.person-head>div {
  flex: 1 1 auto;
}

.person h3 {
  margin-top: 0.2rem;
  margin-bottom: .2rem;
  font-size: 1.5rem;
}

.person h4 {
  margin-top: 0.4rem;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.person-head p {
  margin-top: 0;
}

.person .profile {
  max-width: 200px;
  width: 20%;
  height: auto;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

.person .cv-download {
  display: flex;
  margin-top: 0.5rem;
  color: var(--accent);
  align-items: center;
}

.pdf-icon {
  height: 2rem;
  margin-left: 0.2rem;
}

.cv-list {
  margin: .4rem 0 0;
  padding-left: 1.05rem;
  font-size: .8rem;
  color: var(--accent);
  display: grid;
  gap: .25rem;
  font-weight: 500;
}

.cv-sub {
  margin: .4rem 0 0;
  padding-left: 1.05rem;
  font-size: .8rem;
  color: var(--accent);
  display: grid;
  gap: .25rem;
  font-weight: 500;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1rem;
}

.contact-grid h3 {
  margin: 0;
}

.contact-grid .card {
  display: flex;
  flex-direction: column;
}

.contact-grid .primary-btn {
  margin-top: auto;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: .5rem 0 1rem;
  display: grid;
  gap: .5rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: .35rem;
  font-size: .9rem;
}

@media (max-width: 800px) {
  .contact-list li {
    grid-template-columns: 1fr 2.5fr;
  }
}

.contact-list .label {
  font-weight: 600;
  color: var(--text);
}

.contact-list a {
  color: var(--accent);
  /* text-decoration: none; */
}

.contact-list li.stacked {
  display: block;
}

.contact-list li.stacked .label {
  display: block;
  margin-bottom: .25rem;
}

.location-sub {
  list-style: none;
  margin: .2rem 0 .3rem 1.2rem;
  padding: 0;
  font-size: .82rem;
}

.location-sub li {
  display: flex;
  gap: .4rem;
  align-items: flex-start;
  margin-bottom: .15rem;
}

.location-sub li::before {
  content: "•";
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1.2;
  font-size: .85rem;
}

.location-tips {
  margin-top: .2rem;
  padding-left: 0;
  margin-left: 0.5rem;
  list-style: none;
  font-size: .85rem;
}

.contact-list li .location-tips {
  grid-column: 2 / 3;
  margin-top: .3rem;
  padding-left: 0;
}

.location-tips li {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin-bottom: .2rem;
}

.location-tips li::before {
  content: "•";
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1.2;
  font-size: .9rem;
}

.map-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .4rem;
}

.map-header h3 {
  white-space: nowrap;
}

.map-tips p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

.map-embed {
  border-radius: .7rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(8, 133, 129, 0.08);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* legal */
.legal .card p {
  font-size: .72rem;
  margin-bottom: .25rem;
  color: var(--muted);
}

/* footer */
.site-footer {
  text-align: center;
  font-size: .68rem;
  color: var(--muted);
  position: relative;
}

.top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  text-decoration: none;
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

/* responsive */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

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

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

  .header-inner {
    justify-content: flex-start;
  }

  .nav-toggle {
    order: 3;
    margin-left: .5rem;
  }

  .site-header .primary-btn {
    order: 4;
    margin-left: auto;
  }
}





/* insurance logos strip – CLEAN VERSION */

.insurance-strip {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ins-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.ins-wrap img {
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  filter: grayscale(0.1);
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.ins-wrap img:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 900px) {
  .ins-wrap {
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    row-gap: 1.1rem;
  }
}

/* MOBILE – clear hint that scrolling is possible */
@media (max-width: 520px) {

  .insurance-strip {
    padding-inline: 0;
  }

  .ins-wrap {
    display: flex;
    overflow-x: auto;
    gap: 1.25rem;
    padding: 0.5rem 1rem;
    scroll-snap-type: x mandatory;
  }

  .ins-wrap img {
    flex: 0 0 80px;
    scroll-snap-align: center;
  }

  /* PARTIALLY CUT last item → visible hint */
  .ins-wrap {
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }

  /* Stronger scrollbar */
  .ins-wrap::-webkit-scrollbar {
    height: 7px;
  }

  .ins-wrap::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
  }

  .ins-wrap::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
  }

  .ins-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.45);
  }
}
