/* theme-modern.css â€“ varianta B (CSS + lehkĂ© HTML hooky) */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--fg); background: var(--bg);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
:root{ --bg:#ffffff; --fg:#0f172a; --muted:#3e3c3c; --accent:#111111; --accent-2:#00b894; --max-w:1200px; --gap:24px; --rad:18px; --shadow: 0 10px 30px rgba(2,6,23,.08); }
.container, .site .container, main .container, .site-main { max-width: var(--max-w); margin-inline:auto; padding-inline: clamp(16px, 4vw, 28px); }
.section, section.section, main section { padding: clamp(40px, 7vw, 90px) 0; }
img, video { max-width: 100%; height: auto; }
.site-header, body.site > header, body > header.site-header { position: sticky; top:0; z-index:40; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(6px); border-bottom:1px solid rgba(2,6,23,.06); }
.site-header .bar, .site-header .container, header .container { display:flex; align-items:center; justify-content:space-between; gap:14px; padding: 14px clamp(16px,4vw,28px); max-width: var(--max-w); margin-inline:auto; }
.site-nav, nav.site-nav, header nav { display:flex; flex-wrap:wrap; gap: clamp(10px, 2vw, 22px); }
.site-nav a, header nav a { color: var(--fg); text-decoration:none; font-weight:600; }
.site-nav a:hover {opacity:.75}
.nav-toggle{ display:none; }
@media (max-width: 960px){
  .nav-toggle{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid rgba(2,6,23,.12); border-radius:12px; background:#fff; }
  .site-header .bar{ flex-wrap:wrap }
  .site-nav{ width:100%; display:none; padding-bottom:12px }
  .site-nav.is-open{ display:flex; }
}
.hero, main > section:first-of-type.hero, main > section:first-of-type { padding: clamp(52px, 9vw, 120px) 0 clamp(36px, 6vw, 80px); background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.00)); }
.hero .eyebrow { color: var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.12em }
.hero h1 { font-size: clamp(34px, 6.5vw, 64px); line-height: 1.08; margin: 8px 0 10px; letter-spacing:.2px; }
.hero .lead { font-size: clamp(16px, 2vw, 22px); color: var(--muted); max-width: 62ch }
.hero .cta { margin-top: 20px; display:flex; gap:12px; flex-wrap:wrap }
h1,h2,h3{ color:var(--fg); margin: 0 0 .6em }
h2{ font-size: clamp(28px, 4.2vw, 40px); line-height:1.15 }
h3{ font-size: clamp(22px, 2.8vw, 28px) }
p{ margin: 0 0 1em }
.muted{ color:var(--muted) }
.btn, .button, a.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 12px 18px; border-radius: 999px; border:1px solid transparent; text-decoration:none; font-weight:700; cursor:pointer; }
.btn-primary{ background: var(--accent); color:#fff }
.btn-primary:hover{ filter: brightness(1.06) }
.btn-outline{ border-color: rgba(2,6,23,.2); color:var(--fg); background:#fff }
.btn-outline:hover{ background:#f8f9fb }
.grid-2, .grid-3, .cards { display:grid; gap:var(--gap) }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)) }
.grid-3, .cards{ grid-template-columns: repeat(3, minmax(0,1fr)) }
@media (max-width: 960px){ .grid-3{ grid-template-columns:1fr 1fr } }
@media (max-width: 640px){ .grid-2, .grid-3{ grid-template-columns:1fr } }
.card{ padding: 18px; border:1px solid rgba(2,6,23,.08); border-radius: var(--rad); background:#fff; box-shadow: var(--shadow); }
.card h3{ margin-bottom:.35em }
.card .muted{ font-size: .95rem }
.strip, .gallery-strip { display:grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0,1fr)); }
.strip img, .gallery-strip img{ width:100%; height: clamp(120px, 20vw, 220px); object-fit:cover; border-radius: 14px }
@media (max-width: 960px){ .strip{ grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 640px){ .strip{ grid-template-columns: repeat(2, 1fr) } }
.site-footer, footer.site-footer, body > footer{ margin-top: clamp(40px, 8vw, 120px); border-top:1px solid rgba(2,6,23,.06); padding: clamp(24px, 4vw, 40px) 0; color: var(--muted); }
.site-footer a{ color: var(--fg); text-decoration:none }
.site-footer a:hover{ opacity:.75 }
table{ width:100%; border-collapse:collapse; margin: 1rem 0 }
th,td{ padding:12px 10px; border-bottom:1px solid rgba(2,6,23,.08); text-align:left }
thead th{ font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted) }
/* === Logo-only header === */
.site-header .brand { display:flex; align-items:center; gap:16px; }
.site-header .brand .title,
.site-header .brand .sub { display:none; }
.site-header .brand img {height: 64px; width: auto; display: block;} /* mobil */
@media (min-width: 960px){.site-header .brand img { height: 84px; } } /* desktop */
#kontakty {display: block;}
#o-projektu {text-align: center;}
#investori > div > div:nth-child(2) > form > div:nth-child(6) {display: none;}

/* === HERO â€“ jeden background, cover, no-repeat, silnÄ›jĹˇĂ­ zĂˇvoj na mobilu === */
.hero2{
  position: relative;
  width: 100%;
  overflow: hidden;
  /* 1) svÄ›tlĂ˝ zĂˇvoj zleva, 2) jemnĂ˝ shora, 3) fotka z var(--hero) */
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.82) 38%,
      rgba(255,255,255,0) 68%),
    linear-gradient(180deg,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,0) 52%),
    var(--hero) !important;
  background-position: center center, center top, center center !important;
  background-size: 100% 100%, 100% 100%, cover !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  min-height: clamp(460px, 72vh, 900px);
}
.hero2 .container{ position: relative; z-index: 2; } /* obsah nad pozadĂ­m */

/* ÄŤitelnost textĹŻ */
.hero2 h1{
  color:#0f172a;
  text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 12px 36px rgba(2,6,23,.18);
}
.hero2 .lead{
  color:#172135;
  text-shadow: 0 1px 0 rgba(255,255,255,.20);
}

/* Mobil â€“ o fous silnÄ›jĹˇĂ­ film vlevo, aby texty sedÄ›ly */
@media (max-width: 640px){
  .hero2{
    background-image:
      linear-gradient(90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.88) 52%,
        rgba(255,255,255,0) 82%),
      linear-gradient(180deg,
        rgba(255,255,255,.16) 0%,
        rgba(255,255,255,0) 60%),
      var(--hero) !important;
    background-position: center center, center top, 55% 40% !important; /* lehkĂ˝ posun motivu */
    background-size: 100% 100%, 100% 100%, cover !important;
  }
}

/* Pokud mĂˇĹˇ v hero nĂˇhodou <img>, nedovol deformaci: */
.hero2 > img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; object-position: 55% 45%;
  z-index:1;
}
/* menu nad herem â€“ jistĂ˝ stacking */
.nav{ position: relative; z-index: 30; }

/* desktop */
.nav .menu-links{ display:flex; gap:22px; }
.nav .menu-button{ display:none; }

/* mobil: skrĂ˝t odkazy, nechat tlaÄŤĂ­tko */
@media (max-width: 980px){
  .nav .menu-links{ display:none; }
  .nav .menu-button{
    display:inline-flex; align-items:center;
    padding:.6rem 1rem; border-radius:14px;
    background:#fff; box-shadow:0 8px 24px rgba(2,6,23,.08);
    cursor:pointer;
  }
  /* panel */
  .menu-panel{
    display:none; position:absolute; right:0; top:100%;
    min-width: 240px; padding:8px;
    background:#fff; border-radius:14px;
    box-shadow:0 16px 40px rgba(2,6,23,.14);
  }
  .menu-panel a{ display:block; padding:10px 12px; border-radius:8px; color:#0f172a; text-decoration:none; }
  .menu-panel a:hover{ background:#f3f6f9; }
  /* toggle */
  #nav-toggle{ position:absolute; left:-9999px; }
  #nav-toggle:checked ~ .menu-panel{ display:block; }
}
/* === NAV: DESKTOP-FIRST RESET =========================================== */
/* skryj samotnĂ˝ checkbox (je vidÄ›t na desktopu) */
#nav-toggle{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* hlaviÄŤka vĹľdy nad obsahem */
.site-header{ position:sticky; top:0; z-index:40; background:#fff; }

/* DESKTOP: odkazy vpravo, tlaÄŤĂ­tko i panel skrytĂ© */
.nav .menu-links{
  display:flex !important;
  align-items:center;
  gap:18px;
  margin-left:auto;
}
.nav .menu-button{ display:none !important; }
.nav .menu-panel{ display:none !important; }

/* zĂˇkladnĂ­ vzhled odkazĹŻ (doladĂ­Ĺˇ podle svĂ©ho) */
.nav .menu-links a{
  color:var(--txt, #0f172a);
  text-decoration:none;
  padding:10px 0;
}
.nav .menu-links a:hover{ text-decoration:underline; }

/* === MOBILNĂŤ REĹ˝IM ======================================================= */
@media (max-width: 980px){
  /* na mobilu skryj vodorovnĂ© odkazy a ukaĹľ tlaÄŤĂ­tko Menu */
  .nav .menu-links{ display:none !important; }
  .nav .menu-button{
    display:inline-flex !important;
    align-items:center;
    gap:.5rem;
    padding:.55rem .9rem;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(2,6,23,.08);
    cursor:pointer;
    margin-left:auto; /* tlaÄŤĂ­tko vpravo */
  }

  /* rozbalovacĂ­ panel */
  .nav .menu-panel{
    display:none;                 /* vĂ˝chozĂ­: skrytĂ˝ */
    position:absolute;
    right:16px;
    top:calc(100% + 8px);
    min-width:260px;
    padding:8px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 16px 40px rgba(2,6,23,.14);
    z-index:45;                   /* nad hlaviÄŤkou */
  }
  .nav .menu-panel a{
    display:block;
    padding:10px 12px;
    border-radius:8px;
    color:#0f172a;
    text-decoration:none;
  }
  .nav .menu-panel a:hover{ background:#f3f6f9; }

  /* toggle: po kliku na â€žMenuâ€ś zobraz panel */
  #nav-toggle:checked ~ .menu-panel{ display:block !important; }
}

/* (volitelnĂ©) drobnĂ˝ spacing brand/obsah hlaviÄŤky */
.nav .nav-inner{ display:flex; align-items:center; gap:24px; }
.nav .brand{ display:flex; align-items:center; }


/* === RING NOTEBOOK â€“ reset starĂ˝ch stylĹŻ (musĂ­ bĂ˝t aĹľ na konci CSS) === */


/* Desktop: pĹ™idej svÄ›tlĂ˝ zĂˇvoj po stranĂˇch kvĹŻli ÄŤitelnosti textu */
@media (min-width: 981px){
  .ring-split{
    /* vrstva 1 = zesvÄ›tlenĂ­ po stranĂˇch, vrstva 2 = obrĂˇzek blok-linka */
    background-image:
      linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0 10rem,       /* levĂ˝ svÄ›tlĂ˝ pĂˇs */
        rgba(255,255,255,0)  14rem calc(100% - 14rem),
        rgba(255,255,255,.98) calc(100% - 10rem) 100% /* pravĂ˝ svÄ›tlĂ˝ pĂˇs */
      ),
//      url("/assets/img/blok.webp");
    background-size: 100% 100%, auto 100%;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }
}

/* Mobile / tablet: pozadĂ­ schovej (dvousloupec se sklĂˇdĂˇ pod sebe) */
@media (max-width: 980px) {
  .table_invest {margin: 0px auto; border-collapse: collapse; width: 100%!important; height: auto; border="0"}
}
.table_invest {margin: 0px auto; border-collapse: collapse; width: 75%; height: auto; border="0"}
.formular { background: #cecfce4f;padding: 15px; border-radius: 15px;}
.cf-turnstile { text-align: center;}

.contact-split{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:28px;
  align-items:start;
}
.contact-copy-card,
.contact-form-card,
.contact-secondary-card{
  border:1px solid #dbe4f2;
  border-radius:24px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 40px rgba(19,44,78,.08);
  padding:clamp(22px, 3vw, 34px);
}
.contact-copy-card h2,
.contact-form-card h2,
.contact-secondary-card h2{
  margin:0 0 14px;
}
.contact-copy-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}
.contact-mini-card{
  border:1px solid #e4ebf6;
  border-radius:18px;
  background:#f8fbff;
  padding:14px 16px;
  display:grid;
  gap:6px;
}
.contact-mini-card--full{grid-column:1 / -1;}
.contact-mini-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#62799f;
}
.contact-form-card .small{
  color:#5e7292;
  margin:0 0 16px;
}
.contact-copy-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.contact-form-grid{
  display:grid;
  gap:14px;
}
.contact-form-grid .row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
.contact-form-grid .field-full{
  grid-column:1 / -1;
}
.contact-secondary-grid{
  align-items:stretch;
}
.contact-social-wrap{
  max-width:820px;
  margin:0 auto;
}
.contact-secondary-card{
  height:100%;
}
@media (max-width: 980px){
  .contact-split,
  .contact-form-grid .row,
  .contact-copy-grid{
    grid-template-columns:1fr;
  }
}


.two-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.table-img img { width: 100%; height: auto; display: block; }

/* Pricing cards fallback (loaded after style.css) */
.pricing-modern{
  --pricing-bg:#e9f0fb;
  --pricing-border:#7ea1ff;
  --pricing-primary:#3164eb;
  --pricing-accent:#45b8f5;
  --pricing-text:#233e6b;
}
.pricing-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
@media (max-width: 1100px){ .pricing-grid{grid-template-columns:1fr 1fr;} }
@media (max-width: 720px){ .pricing-grid{grid-template-columns:1fr;} }

.pricing-card{
  border:1px solid var(--pricing-border);
  border-radius:14px;
  background:var(--pricing-bg);
  color:var(--pricing-text);
  overflow:hidden;
}
.pricing-inner{padding:22px 20px 18px;}
.pricing-card h3{
  margin:6px 0 8px;
  text-align:center;
  color:#25457a;
  font-size:52px;
  line-height:1.08;
  letter-spacing:-.6px;
}
.pricing-desc{
  margin:0 auto 14px;
  max-width:36ch;
  text-align:center;
  color:#2e4f80;
}
.pricing-old-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:8px;
}
.pricing-old{
  text-decoration:line-through;
  font-weight:800;
  font-size:18px;
}
.pricing-discount{
  display:inline-flex;
  padding:6px 14px;
  border-radius:999px;
  font-weight:800;
  color:#fff;
  background:var(--pricing-accent);
}
.pricing-price{
  text-align:center;
  font-size:44px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.4px;
  color:#233f6f;
  margin-top:4px;
}
.pricing-note{ text-align:center; margin-top:6px; color:#355889; }
.pricing-coupon{
  margin-top:12px;
  text-align:center;
  font-size:34px;
  color:#2e56d8;
  font-weight:800;
}
.pricing-coupon b{color:var(--pricing-accent);}
.pricing-cta-wrap{margin-top:14px; text-align:center;}
.pricing-btn{
  display:inline-flex;
  width:100%;
  justify-content:center;
  align-items:center;
  padding:12px 16px;
  border-radius:16px;
  border:2px solid var(--pricing-primary);
  color:var(--pricing-primary);
  font-weight:900;
  letter-spacing:.3px;
  background:transparent;
}
.pricing-btn:hover{text-decoration:none; transform:translateY(-1px);}
.pricing-renew{ margin-top:8px; color:#355889; text-align:center; }
.pricing-features{
  margin:14px 0 0;
  padding-left:20px;
  display:grid;
  gap:6px;
  color:#2f4f80;
}
.pricing-features li{line-height:1.42;}

.pricing-card.is-featured{box-shadow:0 14px 32px rgba(35,77,150,.22);}
.pricing-card.is-featured .pricing-badge{
  background:var(--pricing-primary);
  color:#fff;
  font-weight:800;
  text-align:center;
  padding:10px 12px;
}
.pricing-card.is-featured .pricing-btn{
  background:var(--pricing-primary);
  color:#fff;
}




/* Services + testimonials + team cards */
.products-grid{
  align-items:stretch;
  grid-template-columns:repeat(3, minmax(0,1fr));
}
@media (max-width: 980px){
  .products-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 620px){
  .products-grid{grid-template-columns:1fr;}
}
.product-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
}
.product-badge{
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#fff;
  background:#2f61ea;
}
.product-media{
  width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #dbe5f5;
  background:#f3f7ff;
}
.product-media img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}
.product-card h3{margin:0;}
.product-price-wrap{
  margin-top:auto;
  display:grid;
  gap:4px;
}
.product-old-price{
  text-decoration:line-through;
  color:#6b7a95;
  font-weight:700;
}
.product-price{
  font-size:30px;
  line-height:1.08;
  font-weight:900;
  color:#1f3f7a;
}
.product-price-note{
  font-size:13px;
  color:#5b6d8f;
}
.product-buy-btn{
  width:100%;
  margin-top:4px;
}

.services-grid{align-items:stretch;}
.service-card{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-height:100%;
}
.service-card .service-icon{
  width:86px;
  height:86px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:4px auto 4px;
  background:#eef4ff;
  color:#2f61ea;
}
.service-card .service-icon i{font-size:42px;line-height:1;}
.service-card h3{margin:0;text-align:center;}
.service-card .muted{max-width:34ch;margin:0 auto;}

.testimonials-grid .testimonial-card{display:flex;flex-direction:column;gap:8px;}
.testimonial-quote{margin-bottom:2px;}
.testimonial-person{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:auto;
}
.testimonial-person img{
  width:46px;
  height:46px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid #d5e1ff;
  flex:0 0 46px;
}
.testimonial-person p{margin:0;}

.team-grid .team-card{display:flex;flex-direction:column;gap:10px;}
.team-photo-wrap{display:flex;justify-content:center;}
.team-photo{
  width:132px;
  height:132px;
  border-radius:24px;
  object-fit:cover;
  border:3px solid #d4dff7;
}
.team-card h3,.team-card .muted{text-align:center;}
.team-card h3{margin:0;}
.team-card .muted{margin:0 auto;max-width:34ch;}

@media (max-width: 720px){
  .service-card .service-icon{width:76px;height:76px;}
  .service-card .service-icon i{font-size:36px;}
  .team-photo{width:108px;height:108px;}
}

/* Header layout refresh: social top-right, menu full-width below logo */
.site-header .nav-inner{
  display:grid !important;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:
    "brand . tools"
    "menu menu menu";
  align-items:center;
  column-gap:20px;
  row-gap:10px;
}
.site-header .brand{grid-area:brand;}
.site-header .header-tools{
  grid-area:tools;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.site-header .header-tools .header-social{margin:0;gap:8px;}
.site-header .header-tools .icon-btn{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:#f7f9fc;
}
.site-header .header-tools .langswitch{margin:0;}
.site-header .menu-links{
  grid-area:menu;
  width:100%;
  margin:0 !important;
  padding-top:10px;
  border-top:1px solid rgba(15,23,42,.08);
  display:flex !important;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px 20px;
}
.site-header .menu-links > a{
  font-weight:700;
  white-space:nowrap;
}

@media (max-width: 980px){
  .site-header .nav-inner{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    position:relative;
  }
  .site-header .header-tools{display:none;}
  .site-header .menu-links{display:none !important;}
  .site-header .menu-button{margin-left:auto;}
  .site-header .brand img{
    height:56px;
    max-width:min(52vw, 220px);
  }
  .site-header .menu-panel{
    right:12px;
    width:min(280px, calc(100vw - 24px));
    min-width:0;
  }
}

@media (max-width: 640px){
  .site-header .nav-inner{gap:10px;}
  .site-header .brand img{
    height:48px;
    max-width:min(48vw, 190px);
  }
  .site-header .menu-button{
    padding:12px 16px;
  }
}

.team-role{
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color:#304a76;
}

.gallery-item img[src*="assets/img/demo/gallery-"]{
  object-fit: contain;
  object-position: center;
  background: #f8fbff;
  padding: 14px;
}

/* About section highlights: desktop in rows, mobile stacked left */
#o-projektu .list{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 10px 26px;
  text-align: left !important;
}
#o-projektu .list li{
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  text-align: left !important;
}
#o-projektu .list li::before{
  content: "•";
  color: #2f61ea;
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
  flex: 0 0 auto;
}
@media (max-width: 900px){
  #o-projektu .list{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Contact section: social previews/fallback */
.social-preview{
  margin-top: 14px;
}
.social-network-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}
.social-network-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid #d7e2f1;
  background:#fff;
  color:#1f2f4f;
  box-shadow:0 10px 24px rgba(19,41,79,.06);
}
.social-network-pill.is-fb{ background:#eff5ff; color:#224271; }
.social-network-pill.is-ig{ background:#fff3fb; color:#8b4b89; }
.social-network-pill.is-wa{ background:#eefcf4; color:#1e7d54; }
.social-network-pill svg{ width:16px; height:16px; }
.social-preview-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.social-preview-card{
  display: block;
  text-decoration: none;
  border: 1px solid #d9e2f2;
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px 16px;
  color: #1d2d49;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.social-preview-card:hover{
  transform: translateY(-1px);
  border-color: #b9cbec;
  box-shadow: 0 10px 22px rgba(24,44,84,.10);
}
.social-preview-top{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  margin-bottom: 6px;
}
.social-preview-media{
  width: 100%;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  background: #eaf0fc;
  border: 1px solid #d6e1f4;
  margin-bottom: 10px;
}
.social-preview-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.social-preview-media-fallback{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f61ea;
}
.social-preview-media-fallback svg{
  width: 36px;
  height: 36px;
}
.social-preview-host{
  font-size: 13px;
  color: #5f7090;
  margin-bottom: 8px;
}
.social-preview-cta{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f0ff;
  color: #2b5ce2;
}
.social-preview-card.is-fb{ background: linear-gradient(180deg,#f4f8ff 0%,#eef4ff 100%); }
.social-preview-card.is-ig{ background: linear-gradient(180deg,#fff6fc 0%,#f8f1ff 100%); }
.social-preview-card.is-wa{ background: linear-gradient(180deg,#f4fff8 0%,#ecfbf3 100%); }

.social-preview-empty{
  border: 1px solid #d9e2f2;
  border-radius: 14px;
  background: #f8fbff;
  overflow: hidden;
}
.social-preview-empty img{
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #eef4ff;
  display: block;
  padding: 12px;
}
.social-preview-empty .small{
  padding: 10px 12px 12px;
  color: #61708d;
}

/* Social widgets (facebook/instagram like embeds) */
.social-widget-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
}
.social-showcase-grid{
  grid-template-columns:1fr;
}
.social-widget{
  border:1px solid #d7e2f1;
  border-radius:24px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(19,41,79,.08);
}
.social-widget-body{ padding:16px 22px 22px; }
.social-widget.is-fb{ background:linear-gradient(180deg,#ffffff 0%,#f5f8ff 100%); }
.social-widget.is-ig{ background:linear-gradient(180deg,#ffffff 0%,#fff6fb 100%); }
.social-showcase-card{
  padding:24px;
}
.social-showcase-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.social-showcase-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,.82);
  border:1px solid #d7e2f1;
}
.social-showcase-kicker{
  color:#5d7096;
  font-size:14px;
  text-align:right;
}
.social-showcase-body{
  display:grid;
  grid-template-columns:minmax(260px, 1.05fr) minmax(220px, .95fr);
  gap:22px;
  align-items:center;
}
.social-showcase-media{
  position:relative;
  min-height:240px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid #d7e2f1;
  background:linear-gradient(180deg,#edf4ff 0%,#dfeaff 100%);
}
.social-showcase-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.social-showcase-media-fallback{
  position:absolute;
  inset:0;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.social-showcase-media-inner{
  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
  color:#224271;
}
.social-showcase-media-inner svg{
  width:34px;
  height:34px;
}
.social-showcase-copy{
  display:grid;
  gap:14px;
}
.social-showcase-copy h3{
  margin:0;
  font-size:32px;
  line-height:1.05;
  color:#1f2f4f;
}
.social-showcase-copy p{
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:#556b91;
}
.social-showcase-media.is-ig{
  padding:14px;
  background:linear-gradient(180deg,#fff8fc 0%,#f7efff 100%);
}
.social-showcase-media.is-ig .social-ig-strip{
  height:100%;
  margin:0;
}
.social-showcase-media.is-ig .social-ig-thumb{
  min-height:210px;
}
.social-showcase-media.is-ig .social-ig-thumb img,
.social-showcase-media.is-ig .social-ig-thumb-fallback{
  height:210px;
}

.social-profile-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.social-profile-avatar{
  width:72px;
  height:72px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #d8e2f0;
  background:linear-gradient(180deg,#f8fbff 0%,#edf3ff 100%);
  flex:0 0 72px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.social-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.social-profile-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2f61ea;
}
.social-profile-fallback svg{ width:22px; height:22px; }
.social-profile-text{ min-width:0; }
.social-profile-text.compact{ margin:6px 0 10px; }
.social-profile-name{
  font-weight:800;
  font-size:22px;
  line-height:1.1;
  color:#1f2f4f;
}
.social-profile-meta{
  margin-top:6px;
  color:#5a6f95;
  font-size:14px;
}

.social-ig-strip{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.social-ig-thumb{
  border-radius:16px;
  overflow:hidden;
  border:1px solid #e2d9ee;
  background:linear-gradient(180deg,#fff8fc 0%,#f6efff 100%);
  min-height:92px;
}
.social-ig-thumb img{
  width:100%;
  height:92px;
  object-fit:cover;
  display:block;
}
.social-ig-thumb.is-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a5db0;
}
.social-ig-thumb.is-empty svg{ width:22px; height:22px; }
.social-ig-thumb-fallback{
  width:100%;
  height:92px;
  align-items:center;
  justify-content:center;
  color:#8a5db0;
}
.social-ig-thumb-fallback svg{ width:22px; height:22px; }

.social-widget-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:11px 16px;
  border-radius:999px;
  border:1px solid #cfdbef;
  background:#fff;
  color:#224271;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(31,47,79,.06);
}
.social-widget-btn:hover{
  background:#edf4ff;
}
@media (max-width: 700px){
  .social-showcase-head,
  .social-showcase-body{
    grid-template-columns:1fr;
  }
  .social-showcase-head{
    justify-content:flex-start;
  }
  .social-showcase-kicker{
    text-align:left;
  }
  .social-showcase-copy h3{
    font-size:24px;
  }
  .social-widget-grid{
    grid-template-columns:1fr;
  }
  .social-profile-name{
    font-size:19px;
  }
}

/* Safari compatibility overrides */
html{
  text-size-adjust:100%;
}
body{
  overflow-x:hidden;
}
.site-header,
body.site > header,
body > header.site-header{
  position:-webkit-sticky;
  -webkit-backdrop-filter: saturate(140%) blur(6px);
}
.hero2{
  background-color:#fff;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header,
  body.site > header,
  body > header.site-header{
    background:rgba(255,255,255,.98);
  }
}
