/* ===========================
   CORE / COLORS / TYPO
   =========================== */
:root{
  --blue-main:  #0C1571;   /* hlavní modrá (topbar, nav) */
  --blue-mid:   #0C1571;   /* střední modrá (gradient menu) */
  --blue-light: #0C1571;   /* nejsvětlejší modrá (gradient menu) */
  --page-bg:    #DFE3E8;   /* pozadí stránky za kartou */
  --text:       #1F2A32;
  --container:  1180px;
  --card-radius:18px;
}
 
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:Inter, Arial, sans-serif;
  background:var(--page-bg);
  color:var(--text);
  line-height:1.6;
}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* ===========================
   WRAPPER (karta nahoře)
   =========================== */
.site-wrapper{
    max-width:78vw;
    margin:24px auto;
    background:#fff;
    border-radius:var(--card-radius);   /* ✔ oblé rohy všech stran */
    overflow:hidden;                    /* ✔ nutné, jinak rohy skryje hero */
    box-shadow:0 12px 42px rgba(0,0,0,.10);
}

/* větší bílý obal horní části (GYNEKOL + HERO + MENU) */
.site-wrapper--top{
  background:#fff;
  padding:20px 20px 0 20px;         /* ↑ rámeček */
  box-shadow:0 12px 42px rgba(0,0,0,.08);
}

/* ===========================
   TOP BAR (GYNEKOL + kontakty)
   =========================== */
.topbar-blue{
  background:var(--blue-main);
  color:#fff;
  margin-bottom:2px;                /* mezera k HERO */
}
.topbar-blue-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 48px;                /* levá svislice 48 px → řeže s nav */
  min-height:90px;
}
.brand{
  font-family:Montserrat, sans-serif;
  font-weight:800;
  font-size:52px;
  letter-spacing:3px;
  color:#fff;
  line-height:1;
}
.topbar-contacts{display:flex;align-items:center;gap:32px}
.topbar-contacts a{
  display:flex;align-items:center;gap:10px;
  font-size:18px;font-weight:600;color:#fff;text-decoration:none;
}
/* volitelný badge pro ikonky (ponecháno pro kompatibilitu) */
.icon-badge{
  width:34px;height:34px;border-radius:50%;
  background:#0F5597;display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 6px rgba(0,0,0,.25)
}
.icon-badge img{width:18px;height:18px;filter:brightness(2)}

/* ===========================
   HERO (rovné hrany + levý→pravý gradient)
   =========================== */
.hero{
  height:340px;
  background-size:cover;
  background-position:center 35%;
  position:relative;
  border-radius:0;                  /* fotka rovné hrany */
  overflow:hidden;
  margin-bottom:2px;                /* mezera k MENU */
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.44) 28%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,0)   74%
  );
  z-index:1;
}
.hero-inner{
  position:relative; z-index:2;
  height:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;           /* text výš */
  padding:55px 40px 0 40px;         /* sweet spot */
}
.hero-left{max-width:60%}
.hero-left h1{
  font-size:2rem;font-weight:800;color:#fff;margin:0 0 10px;
  text-shadow:0 4px 14px rgba(0,0,0,.95)
}
.hero-left p{
  font-size:1.1rem;color:#fff;margin:0;
  text-shadow:0 3px 12px rgba(0,0,0,.95)
}

/* ===========================
   MENU (gradient přes CELOU lištu)
   =========================== */
.nav-secondary{
  background:linear-gradient(to right, var(--blue-main) 0%, var(--blue-mid) 50%, var(--blue-light) 100%);
  padding:0;
}
.nav-secondary .nav-row{
  display:flex; align-items:center; justify-content:space-between;
  max-width:var(--container);
  margin:0 auto;
  padding-left:48px;                 /* řez se značkou GYNEKOL */
  padding-right:10px;                /* pojišťovny 10 px od pravého okraje */
  gap:24px;
}
/* menu vlevo */
.nav-list{
  list-style:none; display:flex; gap:40px; margin:0; padding:0
}
.nav-list a{
  color:#fff; font-weight:700; text-decoration:none
}
.nav-list a:hover{ text-decoration:underline }

.insurance-label{
  color:#fff; font-weight:600; font-size:15px; white-space:nowrap
}
/* loga – „původní velikost“ (neomezujeme výšku) */
.nav-insurers-block img{
  height:auto; display:block; filter:brightness(1.1);
  /* pokud by loga byla moc velká, odkomentuj limit:
     max-height: 48px; */
}
.nav-insurers-block img {
    border-radius: 5px !important;
    background: #fff; /* pro světlé logo na modrém pozadí */
    padding: 3px;
}
/* ===========================
   OBSAH / SEKCE / KARTY
   =========================== */
.section{ padding:70px 0 }
.section:nth-of-type(even){ background:#fff }
.section:nth-of-type(odd){  background:#F8FBFF }
.section h2{
  font-family:Montserrat, sans-serif;
  font-size:1.6rem; font-weight:700; margin-bottom:18px; color:#1F2A32; letter-spacing:.2px
}
.services-grid{
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px;
  width:100%; margin:40px auto 50px
}
.service-card{
  background:#fff; border:1px solid #E1E5ED; border-radius:14px; padding:24px 28px;
  box-shadow:0 6px 14px rgba(0,0,0,.06)
}
.service-card h3{ margin:0 0 14px; font-size:1.25rem; font-weight:700; color:#1F2A32 }
.service-card ul{ margin:0; padding-left:20px }
.service-card ul li{ margin-bottom:8px; line-height:1.5 }
.hours-card-small ul li{ font-size:.95rem }

.info-note{
  margin-top:12px;
  background:#FFF7E6; border:1px solid #FFE1A3; color:#7A4D00;
  border-radius:12px; padding:14px 16px; display:flex; gap:12px; align-items:flex-start
}
.info-note .i{
  width:26px; height:26px; border-radius:50%;
  background:#FFDFA3; color:#7A4D00;
  display:flex; align-items:center; justify-content:center; font-weight:800
}

/* Buttons */
.btn{ padding:12px 20px; border-radius:10px; font-weight:700; text-decoration:none; text-align:center }
.btn-blue{ background:#08479A; color:#fff }
.btn-blue:hover{ background:#063B7A }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width:980px){
  .hero-inner{ padding:28px 20px 0 20px }
  .hero-left{ max-width:100% }

  .nav-secondary .nav-row{
    flex-wrap:wrap; padding-left:16px; padding-right:16px; gap:10px
  }
  .nav-list{ gap:24px }
  .nav-insurers-block{ order:2; width:100%; justify-content:flex-start }
  /* pokud chceš menší loga na mobilu, odkomentuj následující:
  .nav-insurers-block img{ max-height:32px } */

  .services-grid{ grid-template-columns:1fr; gap:20px; margin:24px 0 40px }
}
.nav-list a{
    font-size:14px;
    font-weight:700;
}
.nav-insurers-block img{
    height:46px;
}
/* === ZVÝŠENÍ VÝŠKY MENU – FINÁLNÍ ÚPRAVA === */
.nav-secondary .nav-row{
    min-height: 80px !important;   /* výška menu */
    padding-top: 10px !important;  /* horní mezera */
    padding-bottom: 10px !important; /* dolní mezera */
}

.topbar-contacts .phone::before{
  content:"";
  width:18px;height:18px;display:block;
  background-size:contain;background-repeat:no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79a15.055 15.055 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V21a1 1 0 01-1 1C10.07 22 2 13.93 2 3a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.58a1 1 0 01-.24 1.01l-2.2 2.2z'/%3E%3C/svg%3E");
}
.topbar-contacts .mail::before{
  content:"";
  width:18px;height:18px;display:block;
  background-size:contain;background-repeat:no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm8 7l8-5H4l8 5zm-8 7h16V9l-8 5-8-5v9z'/%3E%3C/svg%3E");
}
.topbar-contacts a{
  display:flex;align-items:center;gap:10px;
  color:#fff;text-decoration:none;font-weight:600;font-size:18px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.70) 0%,    /* hodně ztmavené vlevo – max čitelnost */
    rgba(0,0,0,0.50) 22%,   /* silný fade */
    rgba(0,0,0,0.25) 45%,   /* polovina – stále znát */
    rgba(0,0,0,0.10) 63%,   /* téměř pryč */
    rgba(0,0,0,0.00) 78%    /* ultrazvuk 100% čistý */
  );
  z-index:1;
}

/* === VARIABLY / TÉMATA === */
:root{
  --brand-primary: #1e63d5;           /* ← nastavte na vaši modrou z hlavičky */
  --brand-primary-600: color-mix(in oklab, var(--brand-primary), black 10%);
  --brand-primary-100: color-mix(in oklab, var(--brand-primary), white 85%);
  --text: #1b1f24;
  --muted: #5f6b7a;
  --surface: #ffffff;
  --border: #e6eaf2;
  --shadow: 0 6px 24px rgba(27,31,36,.06), 0 2px 8px rgba(27,31,36,.05);
  --radius: 16px;
}

/* === SEKCE A GRID === */
.cards-section{padding: clamp(16px, 2vw, 24px) 0;}
.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
@media (max-width: 1000px){
  .cards-grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 680px){
  .cards-grid{grid-template-columns: 1fr;}
}

/* === KARTA === */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand-primary), #c9d6ea 60%);
  box-shadow: 0 10px 28px rgba(27,31,36,.10);
}
.card:focus-within{
  outline: 3px solid color-mix(in oklab, var(--brand-primary), white 65%);
  outline-offset: 2px;
}

/* === HLAVIČKA KARTY === */
.card-head{display:flex; align-items:center; gap:12px; margin-bottom: 2px;}
.icon-badge{
  display:grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  background: var(--brand-primary-100);
  color: var(--brand-primary-600);
  flex:0 0 44px;
}
.icon{width:24px; height:24px; fill: currentColor;}
.card-title{font-size: clamp(18px, 1.2vw + 14px, 22px); line-height:1.25; font-weight:600; color: var(--text); margin:0;}

/* === OBSAH LISTU === */
.card-list{margin:0; padding-left: 18px; color: var(--text); display:grid; gap:6px;}
.card-list li{line-height:1.5;}
.card-list li::marker{color: var(--brand-primary-600);}

/* === HODINY === */
.hours{display:grid; gap:6px; margin:4px 0 0;}
.hours div{display:flex; justify-content:space-between; gap:10px;}
.hours dt{color: var(--muted);}
.hours dd{margin:0; font-variant-numeric: tabular-nums;}

/* === KONTAKT === */
.contact{display:grid; gap:6px;}
.contact-line{display:flex; align-items:center; gap:8px; margin:0;}
.contact-icon{width:22px; height:22px; color: var(--brand-primary-600); display:grid; place-items:center;}
.contact-link{color: var(--text); text-decoration: none;}
.contact-link:hover{color: var(--brand-primary-600); text-decoration: underline;}

/* Ikony – linkový styl pro lepší čitelnost */
.icon{width:24px; height:24px; display:block;}
.icon--stroke{stroke: currentColor; stroke-width: 1.75;}

/* Volitelně: o chlup tmavší ikona v badgi, ale jen o ~10 % */
.icon-badge{ color: var(--brand-primary-600); }

/* Badgy – bez vnitřního stínu, ať ikona „čte“ ostřeji */
.icon-badge{
  display:grid; place-items:center;
  width:46px; height:46px; border-radius:50%;
  background: var(--brand-primary-100);
  color: var(--brand-primary-600);
  /* žádné inset stíny; jen čistý kruh */
}

/* Ikony – piktogramový stroke */
.icon{ width:24px; height:24px; display:block; }
.icon--picto{
  fill: none;
  stroke: currentColor;
  stroke-width: 2;                /* ostrá čára */
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision; /* zvýrazní hrany na HiDPI */
}

/* Pokud chceš ikonu opticky malinko větší: */
@media (min-width:0){
  .icon-badge{ width:48px; height:48px; }
  .icon{ width:26px; height:26px; }
}

.page-wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;        /* DŮLEŽITÉ – jinak neuvidíš zaoblení */
    margin: 24px auto;       /* odsazení od šedého pozadí */
    max-width: 1280px;       /* můžeš upravit podle webu */
    box-shadow: 0 4px 22px rgba(0,0,0,0.06);
}

/* 🔵 Hezčí hlavička karty */
.card-hours .card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.card-hours .card-title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

/* 🔵 Ostrý piktogramový styl */
.icon--picto {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
  vector-effect: non-scaling-stroke;
}

/* 🔵 Kontaktní údaje */
.contact-block {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-block .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: #0f172a;
}

/* 🔵 CTA – nyní hezky v řadě */
.cta-row {
  display: flex;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px dashed #e4e9f0;
}

.cta-row a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.cta-row a:hover {
  text-decoration: underline;
}

/* 🔵 Badge – decentnější a hezčí */
.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 99, 213, 0.12);
  color: var(--brand-primary);
}

.card-map .map-address {
  margin: 4px 0 12px;
  font-size: 15.5px;
  color: #1b1f24;
  line-height: 1.45;
}

.map-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 14px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.map-cta a:hover {
  text-decoration: underline;
}
.footer {
  background: linear-gradient(to bottom, #e8ecf2, #dadedf);
  padding: 26px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: inherit;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.footer-copy {
  font-size: 14px;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 15px;
  color: #1e63d5;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Mobilní verze */
@media (max-width: 650px) {
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* === ORDINACNI HODINY – KONEČNÁ GRAFICKÁ VERZE === */

.card .hours-table {
  margin-top: 20px;
  padding-top: 16px;
  padding-bottom: 6px;
  border-top: 1px solid #e6eaf2; /* jemná čára */
  display: grid;
  gap: 12px;
}

.card .hours-table div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  padding: 4px 0;
}

.card .hours-table span:first-child {
  color: #6b7a90;
  font-weight: 500;
}

.card .hours-table span:last-child {
  color: #0e172a;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Hover efekt */
.card .hours-table div:hover {
  background: #f5f8ff;
  border-radius: 8px;
  padding: 6px 10px;
}

/* Mapa – víc odsazení */
.card .map-wrapper {
  margin-top: 20px !important;
}
/* FIX – schovat cookies modal */
#cookie-modal {
    display: none;
}

/* FIX – cookie banner defaultně nahoře */
#cookie-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 14px;
}
/* ===========================
   📱 MOBILE FIX – FINAL CLEAN VERSION
   =========================== */
@media (max-width: 650px) {

    .card {
        padding: 16px !important;
        gap: 12px !important;
    }

    .card > img {
        width: 100%;
        max-height: 220px;
        object-fit: cover;
        border-radius: 14px;
        display: block;
    }

    .icon-badge {
        width: 34px !important;
        height: 34px !important;
        font-size: 20px !important;
    }

    .card-title {
        font-size: 18px !important;
    }

    .map-address {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .hours-table {
        margin-top: 8px;
        padding-top: 8px;
        gap: 10px;
    }

    .hours-table div {
        padding: 2px 0;
    }

    .map-wrapper {
        aspect-ratio: 16/10 !important;
        height: auto !important;
    }

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
    }

    /* Cookie banner fix */
    #cookie-banner {
        position: sticky;
        top: 0;
        z-index: 9999;
        margin-bottom: 12px;
    }
}
/* ===========================
   COOKIE BAR – FIX & DESIGN
   =========================== */
#cookie-banner {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #d8dce2;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.45;
    color: #1b1f24;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* TLAČÍTKA VPRAVO */
.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

#cookie-banner button {
    background: #1e63d5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#cookie-banner button:hover {
    background: #144a9b;
}
/* ===========================
   COOKIE BAR – FIX
   =========================== */

#cookie-banner {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #d8dce2;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.45;
    color: #1b1f24;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end; /* TLAČÍTKA DOPRAVA */
    gap: 10px;
    margin-top: 8px;
}

#cookie-banner button {
    background: #1e63d5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

#cookie-banner button:hover {
    background: #144a9b;
}



/* ===========================
   FIX – LEPŠÍ IKONA U NADPISU HODIN
   =========================== */

.hours-title {
    display: flex;
    align-items: center;
    gap: 4px;              /* menší mezera mezi ikonou a textem */
    margin: 4px 0 6px;     /* menší okraje */
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
}

.hours-title svg {
    width: 32px !important;   /* větší ikonka */
    height: 32px !important;
    flex-shrink: 0;
    stroke: #0f172a;
    opacity: 0.9;
}
/* ===========================
   FIX – TRVALÉ PODBARVENÍ ŘÁDKŮ
   =========================== */

/* základní trvalé podbarvení */
.card .hours-table div {
    background: #f5f8ff;       /* stejné jako hover, ale trvalé */
    border-radius: 8px;
    padding: 6px 10px;
}

/* jemné zvýraznění při najetí myší (volitelné) */
.card .hours-table div:hover {
    background: #eef3ff;       /* o chlup výraznější modrá */
}

.nav-secondary .nav-row {
    display: flex;
    justify-content: space-between; /* roztáhne menu vlevo, loga vpravo */
    align-items: center;
}

.nav-insurers-block {
    display: flex;
    align-items: center;
    gap: 16px;     /* nebo 15 px, jak chceš */
    margin-left: auto;   /* drží to vpravo */
    margin-right: 20px;  /* a toto přesně přilepí 20px od kraje */
}






/* ===========================
   📱 GLOBAL MOBILE IMPROVEMENTS
   =========================== */
@media (max-width: 650px) {

    /* Globální typografie */
    body {
        font-size: 15px;
        line-height: 1.55;
    }

    h1, h2, h3 {
        line-height: 1.25;
    }

    /* Kontejnery – menší horizontální padding */
    .container,
    .site-wrapper,
    .site-wrapper--top,
    .footer-inner,
    .page-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ===========================
       MENU MOBIL
    =========================== */

    .nav-secondary .nav-row {
        flex-wrap: wrap;
        gap: 14px;
        padding-left: 16px !important;
        padding-right: 16px !important;
        min-height: auto !important;
    }

    .nav-list {
        width: 100%;
        justify-content: flex-start;
        gap: 22px;
        font-size: 15px;
    }

    .nav-insurers-block {
        width: 100%;
        order: 2;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 10px;
        justify-content: flex-start;
    }

    .nav-insurers-block img {
        height: 28px !important; /* menší loga = lepší čitelnost */
        padding: 2px;
    }

    /* ===========================
       HERO SEKCE
    =========================== */
    .hero {
        height: 220px;
        background-position: center 40%;
    }

    .hero-inner {
        padding: 20px !important;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-left h1 {
        font-size: 1.55rem;
    }

    .hero-left p {
        font-size: 1rem;
        max-width: 90%;
    }

    /* ===========================
       GRID / KARTY / SEKCÉ
    =========================== */

    .section {
        padding: 40px 0 !important;
    }

    .services-grid,
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 20px 0 40px !important;
    }

    .card {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .card h3, .card-title {
        font-size: 18px !important;
    }

    .card > img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        max-height: 240px;
    }

    /* Tabulky hodin */
    .hours-table {
        gap: 8px !important;
        padding-top: 10px !important;
    }

    .hours-table div {
        padding: 6px 10px !important;
    }

    /* Kontakt & řádky */
    .contact-block .row {
        font-size: 15px !important;
    }

    /* ===========================
       MAPY
    =========================== */
    .map-wrapper {
        aspect-ratio: 16/10 !important;
        margin-top: 16px !important;
    }

    /* ===========================
       FOOTER
    =========================== */
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
}
@media (max-width: 650px) {

    /* necháme bílý rámeček, ale přes celou šíři */
    .site-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important; /* volitelné: můžeš dát pryč */
        box-shadow: none !important; /* volitelné */
    }

    /* horní část uvnitř wrapperu */
    .site-wrapper--top {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media (max-width: 650px) {

    /* zalomení topbaru do dvou řádků */
    .topbar-blue-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 20px !important;
    }

    /* kontakty zarovnat vlevo a pod sebe */
    .topbar-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .topbar-contacts a {
        font-size: 16px;
    }
}

@media (max-width: 650px) {

    /* držet GYNEKOL + kontakty uvnitř bílého kontejneru */
    .topbar-blue-inner {
        width: 100%;
        box-sizing: border-box;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* upravit i vrchní bílý wrapper */
    .site-wrapper--top {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 650px) {

    /* === TOPBAR – zarovnání zpět dovnitř bílého boxu === */
    .topbar-blue-inner {
        flex-direction: column;
        align-items: flex-start;

        /* TOTO JE KLÍČOVÉ – RESET DESKTOP PADDINGŮ */
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
        width: 100% !important;
    }

    /* Kontakty pod sebe */
    .topbar-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }
}

/* ============================================
   📱 FINÁLNÍ TOPBAR MOBILE FIX (100% funkční)
   ============================================ */
@media (max-width: 650px) {

    /* Topbar se zalomí do dvou řádků */
    .topbar-blue-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;

        /* TOTO JE KLÍČOVÉ — sjednocené hodnoty */
        width: 100% !important;
        box-sizing: border-box;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    /* Telefon + email pod sebe */
    .topbar-contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    /* Lehce větší klikací plocha */
    .topbar-contacts a {
        font-size: 16px;
        line-height: 1.3;
    }

    /* Bílý wrapper nahoře */
    .site-wrapper--top {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Info blok nad kartami – stejny "card" look jako bloky dole */
.fullwidth-note{
  width: 100%;
  background: transparent;   /* uz neni modry pruh */
  border: 0;
  padding: 18px 0 10px;      /* prostor nad kartami */
}

.fullwidth-note__inner{
  background: #f3f3f3;          /* karta */
  border: 1px solid #e2e5e9;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.10);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fullwidth-note__inner h2{
  margin: 0;
  font-size: 1.35rem;
  color: #F80E24;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.fullwidth-note__inner p{
  margin: 0;
  color: #2a3a4a;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Badge uvnitr info bloku (pokud pouzijes) */
.fullwidth-note__inner .badge{
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 6px;
}

@media (max-width: 640px){
  .fullwidth-note__inner{
    padding: 18px 16px;
    border-radius: 16px;
  }
  .fullwidth-note__inner h2{
    font-size: 1.2rem;
  }
}
