

  /* ============ THEMES ============ */
  :root {
    --bg: #f0f6fc;
    --bg2: #e2eef8;
    --bg3: #d4e6f4;
    --acc: #1565c0;
    --acc2: #1e88e5;
    --steel: #4a6d8c;
    --steel-light: #2c5070;
    --white: #0d2137;
    --grid-c: rgba(21,101,192,0.07);
    --cta-bg: linear-gradient(135deg,#0d3a6e 0%,#1565c0 100%);
    --acc-rgb: 21,101,192;
  }
  
  
  
  

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
  }
  body::before{
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(var(--grid-c) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* ============ THEME SWITCHER ============ */
  .theme-switcher {
    position: fixed;
    top: 72px; right: 16px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(21,101,192,0.2);
    padding: 10px 8px;
    border-radius: 8px;
  }
  .theme-switcher label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(21,101,192,0.7);
    text-align: center;
    margin-bottom: 2px;
  }
  .theme-dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    outline: none;
  }
  .theme-dot:hover, .theme-dot.active { border-color: white; transform: scale(1.15); }
  .td-blue   { background: radial-gradient(circle at 35% 35%, #29aaff, #0d3a6e); }
  .td-orange { background: radial-gradient(circle at 35% 35%, #ff8c42, #7a2800); }
  .td-green  { background: radial-gradient(circle at 35% 35%, #69f0ae, #005c25); }
  .td-red    { background: radial-gradient(circle at 35% 35%, #ff7043, #6c1a1a); }
  .td-violet { background: radial-gradient(circle at 35% 35%, #b388ff, #3a1a7a); }

  /* ============ NAV ============ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 90px;
    background: var(--bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--acc-rgb),0.25);
    overflow: visible;
  }
  .logo img {
    height: 260px;
    width: auto;
    display: block;
    position: relative;
    top: 5px;
    transition: height 0.3s ease;
  }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400; font-size: 0.95rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--steel);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--acc); }
  .nav-cta {
    background: #ff6a00 !important;
    color: #fff !important;
    padding: 10px 26px;
    font-weight: 800 !important;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: background 0.2s !important, transform 0.15s ease, box-shadow 0.2s ease !important;
    animation: navCtaPulse 2.8s ease-in-out infinite;
  }
  .nav-cta:hover { background: #ff852e !important; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,0,0,0.10); }

  /* ============ HERO ============ */
  .hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 48px 80px; overflow: hidden; z-index: 1;
    text-align: center;
  }
  .hero-bg-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: clamp(120px,20vw,300px);
    color: rgba(var(--acc-rgb),0.06);
    letter-spacing: -0.02em; user-select: none; white-space: nowrap; line-height: 1;
  }
  .hero-content { max-width: 800px; position: relative; }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--acc);
    margin-bottom: 24px; justify-content: center;
  }
  .hero-tag::before, .hero-tag::after {
    content: ''; display: block; width: 28px; height: 1px; background: var(--acc);
  }
  h1 {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: clamp(52px,7vw,110px); line-height: 0.9;
    letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 28px;
  }
  h1 .accent { color: var(--acc); display: block; }
  .hero-desc {
    font-size: 1.05rem; line-height: 1.7; color: var(--steel-light);
    max-width: 560px; margin: 0 auto 48px;
  }
  .btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-group .btn-primary { font-size: 1.2rem; padding: 18px 52px; margin: 0 auto; }
  .btn-primary {
    background: var(--acc); color: #fff;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 14px 36px; border: none; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: background 0.2s, transform 0.15s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }
  .btn-primary:hover { background: var(--acc2); transform: translateY(-2px); }
  .btn-outline {
    background: transparent; color: var(--white);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
    font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 13px 32px; border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-outline:hover { border-color: var(--acc); color: var(--acc); }

  /* ============ STATS ============ */
  .stats-bar {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(var(--acc-rgb),0.15);
    border-bottom: 1px solid rgba(var(--acc-rgb),0.15);
    background: var(--bg2);
    display: grid; grid-template-columns: repeat(4, 1fr);
  }
  .stat { padding: 32px 40px; border-right: 1px solid rgba(var(--acc-rgb),0.1); text-align: center; }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: 2.8rem; color: var(--acc); line-height: 1; margin-bottom: 4px;
  }
  .stat-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }

  /* ============ SECTION BASE ============ */
  section {
    position: relative; z-index: 1; padding: 100px 48px;
  }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--acc);
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
  }
  .section-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--acc); }
  h2 {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: clamp(36px,5vw,64px); text-transform: uppercase;
    line-height: 1; letter-spacing: -0.01em; margin-bottom: 16px;
  }
  h2 em { color: var(--acc); font-style: normal; }
  .section-sub {
    color: var(--steel); font-size: 1rem; line-height: 1.7;
    max-width: 480px; margin-bottom: 60px;
  }

  /* ============ SERVICES ============ */
  #sluzby { background: var(--bg); }
  .services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2px;
  }
  .service-card {
    background: var(--bg2); padding: 44px 40px; position: relative;
    overflow: hidden; transition: background 0.3s;
    border: 1px solid rgba(var(--acc-rgb),0.08);
  }
  .service-card::before {
    content: ''; position: absolute; bottom: 0; left: 0;
    height: 2px; width: 0; background: var(--acc); transition: width 0.4s;
  }
  .service-card:hover { background: var(--bg3); }
  .service-card:hover::before { width: 100%; }
  .service-icon {
    width: 52px; height: 52px;
    background: rgba(var(--acc-rgb),0.1);
    border: 1px solid rgba(var(--acc-rgb),0.3);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px; font-size: 1.4rem;
  }
  .service-card h3 {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px;
  }
  .service-card p { color: var(--steel); font-size: 0.92rem; line-height: 1.6; }
  .service-num {
    position: absolute; top: 20px; right: 24px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: 4rem; color: rgba(var(--acc-rgb),0.06); line-height: 1;
  }

  /* ============ MATERIALS ============ */
  #materialy { background: var(--bg2); }
  .mat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px;
  }
  .mat-card {
    border: 1px solid rgba(21,101,192,0.15); padding: 28px 24px; position: relative;
    transition: border-color 0.3s, transform 0.2s;
  }
  .mat-card:hover { border-color: var(--acc); transform: translateY(-4px); }
  .mat-name {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem;
    letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--white);
  }
  .mat-desc { font-size: 0.82rem; color: var(--steel); line-height: 1.5; }
  .mat-badge {
    display: inline-block; margin-top: 12px;
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--acc);
    border: 1px solid rgba(var(--acc-rgb),0.3); padding: 3px 8px;
  }

  /* ============ PROCESS ============ */
  #postup { background: var(--bg); }
  .process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 0;
  }
  .process-step {
    padding: 40px 32px; border-left: 1px solid rgba(var(--acc-rgb),0.15); position: relative;
  }
  .step-num {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: 3.5rem; color: rgba(var(--acc-rgb),0.15); line-height: 1; margin-bottom: 16px;
  }
  .step-title {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 10px; color: var(--white);
  }
  .step-desc { font-size: 0.88rem; color: var(--steel); line-height: 1.6; }
  .step-dot {
    position: absolute; top: 44px; left: -5px;
    width: 8px; height: 8px; background: var(--acc); border-radius: 50%;
  }

  /* ============ PORTFOLIO ============ */
  #portfolio { background: var(--bg2); }
  .portfolio-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 4px;
  }
  .port-item {
    background: var(--bg3); aspect-ratio: 16/10;
    display: flex; align-items: flex-end; padding: 24px;
    position: relative; overflow: hidden; cursor: pointer;
  }
  .port-item:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 400px; }
  .port-bg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 6rem; opacity: 0.08; transition: opacity 0.3s, transform 0.4s; pointer-events: none;
  }
  .port-item:hover .port-bg { opacity: 0.14; transform: scale(1.1); }
  .port-label {
    position: relative; font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
    font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--steel-light); background: rgba(21,101,192,0.12);
    padding: 6px 14px; backdrop-filter: blur(4px);
  }
  .port-item::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid rgba(var(--acc-rgb),0); transition: border-color 0.3s;
  }
  .port-item:hover::after { border-color: rgba(var(--acc-rgb),0.5); }

  /* ============ CTA STRIP ============ */
  .cta-strip {
    position: relative; z-index: 1;
    background: var(--cta-bg);
    padding: 64px 48px;
    display: flex; align-items: center; justify-content: center;
    gap: 48px; flex-wrap: wrap; overflow: hidden; text-align: center;
  }
  .cta-strip::before {
    content: 'TISK';
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 200px;
    color: rgba(0,0,0,0.08); line-height: 1; pointer-events: none; white-space: nowrap;
  }
  .cta-strip h2 { color: #fff; font-size: clamp(28px,4vw,52px); margin-bottom: 0; }
  .btn-dark {
    background: rgba(255,255,255,0.15); color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem;
    letter-spacing: 0.1em; text-transform: uppercase; padding: 16px 40px;
    cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    white-space: nowrap; transition: background 0.2s, border-color 0.2s; flex-shrink: 0;
    position: relative;
  }
  .btn-dark:hover { background: rgba(255,255,255,0.25); border-color: #fff; }

  /* ============ CONTACT ============ */
  #kontakt { background: var(--bg); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .contact-icon {
    width: 40px; height: 40px; border: 1px solid rgba(var(--acc-rgb),0.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--acc); font-size: 1rem;
  }
  .contact-item-label {
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); margin-bottom: 3px;
  }
  .contact-item-val{
  font-size: 0.95rem;
  color: var(--white);
}
.contact-item-val a {
  color: var(--white);
  text-decoration: none;
}
.contact-item-val a:hover {
  color: var(--acc);
}
  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group label {
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: #fff; border: 1px solid rgba(21,101,192,0.25);
    color: var(--white); font-family: 'Barlow', sans-serif; font-size: 0.92rem;
    padding: 12px 16px; outline: none; transition: border-color 0.2s; resize: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--acc); }
  .form-group select option { background: #fff; color: #0d2137; }
  .line-accent { width: 60px; height: 3px; background: var(--acc); margin-bottom: 32px; }

  /* ============ FOOTER ============ */
.footer-copy{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    max-width: 55%;
    text-overflow: ellipsis;
  }
  .footer-links{
    position: absolute;
    right: 48px;
    top: 0;
    height: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
  }
  .footer-links a{ text-decoration: none; }
  .footer-links a:hover{ opacity: 1; }

  .footer-logo img {
    height: 60px;
    width: -560px;
    display: block;
    position: relative;
    top: -20px; /* logo floats above thin bar */
  }
  .footer-copy { font-size: 0.82rem; color: var(--steel); letter-spacing: 0.06em; }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a {
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--acc); }

  /* ============ ANIMATIONS ============ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-content > * { animation: fadeUp 0.8s ease both; }
  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.25s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.55s; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 900px) {
    nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 90px;
    background: var(--bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--acc-rgb),0.25);
    overflow: visible;
  }
    .nav-links { display: none; }
    section { padding: 72px 24px; }
    .hero { padding: 100px 24px 60px; }
    .stats-bar { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .port-item:first-child { grid-column: span 2; }
    .cta-strip { padding: 40px 24px; }
.theme-switcher { top: auto; bottom: 16px; right: 16px; flex-direction: row; }
  }

/* Sticky shrink effect */
nav.shrink {
  height: 90px !important;
  transition: height 0.3s ease;
}
nav.shrink .logo img {
    height: 260px;
    width: auto;
    display: block;
    position: relative;
    top: 5px;
    transition: height 0.3s ease;
  }




/* --- Footer fix (solid bar, no grid bleed, big logo overflow) --- */
footer{
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-top: 1px solid rgba(var(--acc-rgb),0.15);
  padding: 10px 48px;        /* thinner bar, but can grow if text wraps */
}
footer .footer-logo{ display:none; }
footer .footer-logo img{
  height: 260px;             /* same as header */
  width: auto;
  display: block;
  transform: translateY(-150px); /* lift above thin bar */
}
footer .footer-copy{
  position: static;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  opacity: .92;
  text-align: center;
  max-width: 1200px;
  white-space: normal;       /* allow full text */
  overflow: visible;         /* no clipping */
  text-overflow: clip;       /* no ... */
  line-height: 1.25;
  flex-wrap: wrap;           /* wrap if needed */
}
footer .footer-links{
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .85;
}
footer .footer-links a{ opacity: .9; text-decoration: none; }
footer .footer-links a:hover{ opacity: 1; }
@media (max-width: 820px){
  footer{ padding: 10px 18px; }
  footer .footer-copy{ font-size: 12px; }
}
@media (max-width: 520px){
  footer .footer-links{ display:none; }
  footer .footer-logo{ left: 18px; }
}
/* -------------------------------------------------------------- */


/* ===== HERO SIDE IMAGES ===== */
.hero-side-img{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:0;
  opacity:0.30;
  pointer-events:none;
}

.hero-img-right{
  left:-10px;
  width:35vw;
}

.hero-img-left{
  right:230px;
  bottom:130px;
  top:auto;
  transform:none;
  width:20vw;
  opacity:0.20;

}

.hero-content{
  position:relative;
  z-index:2;
}
/* ============================= */


/* === Footer center hotfix === */
footer{
  display:flex;
  align-items:center;
  justify-content:center;
}
footer .footer-copy{
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* =========================== */



/* === Footer floating logo (no layout impact) === */
footer{
  position: relative;
  overflow: visible; /* allow logo to overlap above footer */
}
.footer-float-logo{
  position: absolute;
  left: 50%;
  bottom: 20px;              /* base position inside the bar */
  transform: translateX(-50%);
  height: 140px;             /* change size here, doesn't change row height */
  width: auto;
  z-index: 5;
  pointer-events: none;
}
footer .footer-copy{
  position: relative !important;
  z-index: 6;
  line-height: 1.25 !important;
  padding-left: 0 !important;
}
/* ============================================= */

  .nav-phone{
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid rgba(var(--acc-rgb),0.18);
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  .nav-phone:hover{
    color: var(--acc);
    border-color: rgba(var(--acc-rgb),0.35);
    background: rgba(var(--acc-rgb),0.06);
  }

  @keyframes navCtaPulse{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
  }

  /* ============ AUDIENCE (PRO KOHO) ============ */
  #prokoho { background: var(--bg2); }
  .aud-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 14px;
  }
  .aud-card{
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(var(--acc-rgb),0.14);
    padding: 28px 24px;
    border-radius: 14px;
    transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
    backdrop-filter: blur(8px);
  }
  .aud-card:hover{
    transform: translateY(-3px);
    border-color: rgba(var(--acc-rgb),0.35);
    box-shadow: 0 16px 28px rgba(0,0,0,0.06);
  }
  .aud-top{
    display:flex; align-items:center; gap:12px; margin-bottom: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 700;
  }
  .aud-ico{
    width: 44px; height: 44px;
    display:flex; align-items:center; justify-content:center;
    border-radius: 12px;
    background: rgba(var(--acc-rgb),0.10);
    border: 1px solid rgba(var(--acc-rgb),0.22);
    font-size: 1.15rem;
    color: var(--acc);
  }
  .aud-card p{ color: var(--steel); font-size: .92rem; line-height: 1.6; }

  /* ============ REALIZACE ============ */
  #realizace { background: var(--bg); }
  .real-note{ color: var(--steel); font-size: .95rem; line-height: 1.7; max-width: 720px; margin: 18px 0 0; }
  .port-item .port-label{ border-radius: 10px; }
  .port-item .port-label b{ color: var(--white); }

  /* ============ FAQ ============ */
  #faq { background: var(--bg2); }
  .faq-wrap{ max-width: 900px; }
  .faq-item{
    border: 1px solid rgba(var(--acc-rgb),0.14);
    background: rgba(255,255,255,0.55);
    border-radius: 14px;
    padding: 18px 18px;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
  }
  .faq-q{
    width:100%;
    background: transparent;
    border: none;
    text-align:left;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
    font-size: 1.05rem;
  }
  .faq-q span{
    color: var(--acc);
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink:0;
    transition: transform .18s ease;
  }
  .faq-a{
    display:none;
    padding-top: 10px;
    color: var(--steel);
    font-size: .95rem;
    line-height: 1.7;
  }
  .faq-item.open .faq-a{ display:block; }
  .faq-item.open .faq-q span{ transform: rotate(45deg); }

  /* ============ SMALL CTA LINKS ============ */
  .mini-cta{
    margin-top: 14px;
    display:inline-flex;
    gap: 10px;
    align-items:center;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 700;
    font-size: .85rem;
    color: var(--acc);
    text-decoration:none;
  }
  .mini-cta:hover{ color: var(--acc2); }


/* ===== MOBILE / RESPONSIVE HOTFIX ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
nav,
section,
.stats-bar,
.cta-strip,
footer {
  width: 100%;
}
.hero,
.section-inner,
.contact-grid,
.services-grid,
.mat-grid,
.process-steps,
.portfolio-grid,
.aud-grid,
.faq-wrap,
.contact-form,
.form-row {
  min-width: 0;
}

@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .logo img,
  nav.shrink .logo img { height: 170px; }
  .hero-img-right { left: -40px; width: 42vw; }
  .hero-img-left { right: 40px; width: 24vw; }
  .footer-float-logo { height: 110px; }
}

@media (max-width: 768px) {
  nav {
    height: 76px;
    padding: 0 16px;
  }
  .logo img,
  nav.shrink .logo img {
    height: 92px;
    top: 0;
  }
  .theme-switcher {
    bottom: 10px;
    right: 10px;
    gap: 6px;
    padding: 8px 6px;
  }
  .theme-dot {
    width: 20px;
    height: 20px;
  }
  .hero {
    min-height: auto;
    padding: 110px 16px 48px;
  }
  .hero-bg-text {
    font-size: 34vw;
    white-space: nowrap;
  }
  h1 {
    font-size: clamp(42px, 14vw, 64px);
    line-height: 0.95;
    word-break: break-word;
  }
  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .hero-side-img,
  .hero-img-left,
  .hero-img-right {
    display: none;
  }
  section {
    padding: 64px 16px;
  }
  .section-inner {
    max-width: 100%;
  }
  .section-sub {
    margin-bottom: 32px;
  }
  .btn-group,
  .btn-group .btn-primary {
    width: 100%;
  }
  .btn-group .btn-primary,
  .btn-primary,
  .btn-dark,
  .btn-outline {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 22px 16px;
  }
  .stat-num {
    font-size: 2.2rem;
  }
  .services-grid,
  .mat-grid,
  .process-steps,
  .aud-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .mat-card,
  .process-step,
  .aud-card,
  .faq-item {
    padding-left: 20px;
    padding-right: 20px;
  }
  .portfolio-grid {
    grid-template-rows: none;
    gap: 12px;
  }
  .port-item,
  .port-item:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
    aspect-ratio: 16/10;
  }
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cta-strip {
    padding: 36px 16px;
    gap: 18px;
  }
  .cta-strip::before {
    font-size: 96px;
  }
  footer {
    padding: 12px 16px;
  }
  footer .footer-copy {
    font-size: 12px;
    line-height: 1.35 !important;
    padding-right: 0 !important;
  }
  footer .footer-links {
    display: none;
  }
  .footer-float-logo {
    height: 84px;
    bottom: 28px;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(var(--acc-rgb),0.1);
  }
  .stat:last-child {
    border-bottom: none;
  }
  h2 {
    font-size: clamp(30px, 11vw, 42px);
  }
  .service-card,
  .mat-card,
  .process-step,
  .aud-card,
  .faq-item,
  .contact-form {
    padding-left: 16px;
    padding-right: 16px;
  }
  .faq-q {
    font-size: 0.95rem;
  }
  .footer-float-logo {
    display: none;
  }
}
/* ===================================== */

