:root{
    --bg:#FCFDFF;
    --surface:#FFFFFF;
    --surface-alt:#EAF4FF;
    --text:#0E2A4A;
    --text-muted:#4A6484;
    --accent:#1961D8;
    --accent-2:#0E4FBE;
    --accent-soft:#D6EAFF;
    --border:#D6E6FA;
    --iri-a:#BFE3FF;
    --iri-b:#E9D9FF;
    --iri-c:#FFFFFF;
    --shadow: 0 20px 45px -25px rgba(14,42,74,.35);
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --bg:#081826;
      --surface:#0E2A44;
      --surface-alt:#0B2038;
      --text:#EAF4FF;
      --text-muted:#9DC1E8;
      --accent:#5CA8FF;
      --accent-2:#8FC4FF;
      --accent-soft:#123256;
      --border:#1B3B5C;
      --iri-a:#3E6FA8;
      --iri-b:#5B4E8C;
      --iri-c:#0E2A44;
      --shadow: 0 20px 45px -20px rgba(0,0,0,.55);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"]{
    --bg:#081826;
    --surface:#0E2A44;
    --surface-alt:#0B2038;
    --text:#EAF4FF;
    --text-muted:#9DC1E8;
    --accent:#5CA8FF;
    --accent-2:#8FC4FF;
    --accent-soft:#123256;
    --border:#1B3B5C;
    --iri-a:#3E6FA8;
    --iri-b:#5B4E8C;
    --iri-c:#0E2A44;
    --shadow: 0 20px 45px -20px rgba(0,0,0,.55);
    color-scheme: dark;
  }

  *{box-sizing:border-box;}
  body{
    margin:0; background:var(--bg); color:var(--text);
    font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,.display{
    font-family:'Baloo 2','Manrope',system-ui,sans-serif;
    font-weight:700;
    text-wrap:balance;
    margin:0;
    color:var(--text);
  }
  p{margin:0; line-height:1.6;}
  a{color:inherit; text-decoration:none;}
  img{display:block; max-width:100%;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
  section{position:relative;}

  .eyebrow{
    font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px;
    letter-spacing:.14em; text-transform:uppercase; color:var(--accent);
  }

  /* buttons */
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'Manrope',sans-serif; font-weight:700; font-size:15px;
    padding:13px 24px; border-radius:999px; cursor:pointer;
    border:2px solid transparent; transition:transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, background .2s ease;
    white-space:nowrap;
  }
  .btn-primary{ background:var(--accent); color:#fff; box-shadow:var(--shadow); }
  .btn-primary:hover{ transform:translateY(-2px) scale(1.035); }
  .btn-ghost{ background:transparent; color:var(--text); border-color:var(--border); }
  .btn-ghost:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }

  /* nav */
  header{
    position:sticky; top:0; z-index:50;
    background:color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border);
    transition:box-shadow .25s ease;
  }
  header.scrolled{ box-shadow:0 8px 24px -18px rgba(14,42,74,.35); }
  nav{
    display:flex; align-items:center; justify-content:space-between; padding:18px 28px; max-width:1180px; margin:0 auto;
    transition:padding .25s ease;
  }
  header.scrolled nav{ padding:10px 28px; }
  .logo{ display:flex; align-items:center; gap:10px; }
  .logo img{ height:106px; width:auto; display:block; transition:height .25s ease; }
  header.scrolled .logo img{ height:76px; }
  .navlinks{ display:flex; align-items:center; gap:30px; font-weight:600; font-size:15px; }
  .navlinks > a{ color:var(--text-muted); transition:color .2s; }
  .navlinks > a:hover{ color:var(--accent); }
  .navcta{ display:flex; align-items:center; gap:18px; }

  .nav-dropdown{ position:relative; }
  .nav-dropdown > .dd-trigger{
    display:flex; align-items:center; gap:6px; color:var(--text-muted); cursor:pointer;
    background:none; border:none; font:inherit; padding:0;
    font-weight:600; font-size:15px;
  }
  .nav-dropdown > .dd-trigger svg{ transition:transform .2s; }
  .nav-dropdown:hover > .dd-trigger, .nav-dropdown:focus-within > .dd-trigger{ color:var(--accent); }
  .nav-dropdown:hover > .dd-trigger svg, .nav-dropdown:focus-within > .dd-trigger svg{ transform:rotate(180deg); }
  .dd-menu{
    position:absolute; top:100%; left:50%; transform:translateX(-50%);
    padding-top:16px; width:248px;
    opacity:0; pointer-events:none; transition:opacity .2s ease;
  }
  .nav-dropdown:hover .dd-menu, .nav-dropdown:focus-within .dd-menu{
    opacity:1; pointer-events:auto;
  }
  .dd-menu-inner{
    background:var(--surface); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow);
    padding:10px; display:grid; grid-template-columns:1fr; gap:2px;
    transform:translateY(6px); transition:transform .2s ease;
  }
  .nav-dropdown:hover .dd-menu-inner, .nav-dropdown:focus-within .dd-menu-inner{
    transform:translateY(0);
  }
  .dd-menu a{ display:block; padding:10px 12px; border-radius:10px; font-size:14.5px; font-weight:600; color:var(--text); }
  .dd-menu a:hover{ background:var(--surface-alt); color:var(--accent); }
  .navlinks-wrap{display:flex; align-items:center; gap:30px;}
  @media (max-width:840px){ .navlinks{display:none;} .logo img{height:64px;} }
  @media (max-width:480px){ .nav-cta-btn{display:none;} }

  /* language switcher */
  .lang-switch{ display:flex; align-items:center; gap:2px; background:var(--surface-alt); border:1px solid var(--border); border-radius:999px; padding:3px; flex:none; }
  .lang-switch button{
    border:none; background:none; font:inherit; font-size:12.5px; font-weight:800; letter-spacing:.03em;
    padding:6px 10px; border-radius:999px; color:var(--text-muted); cursor:pointer; transition:background .2s ease, color .2s ease;
  }
  .lang-switch button:hover{ color:var(--accent); }
  .lang-switch button.active{ background:var(--surface); color:var(--accent); box-shadow:var(--shadow); }
  @media (max-width:840px){ .navcta > .lang-switch{ display:none; } }
  .mobile-panel .lang-switch{ align-self:flex-start; margin-bottom:6px; }

  /* mobile burger + panel */
  .burger{
    display:none; width:44px; height:44px; border-radius:12px; border:1.5px solid var(--border);
    background:var(--surface); align-items:center; justify-content:center; cursor:pointer; flex:none;
  }
  .burger:focus-visible{ outline:2.5px solid var(--accent); outline-offset:2px; }
  .burger span{ position:relative; width:20px; height:2px; background:var(--text); display:block; }
  .burger span::before, .burger span::after{
    content:""; position:absolute; left:0; width:20px; height:2px; background:var(--text); transition:transform .25s ease, top .25s ease;
  }
  .burger span::before{ top:-6px; }
  .burger span::after{ top:6px; }
  .burger[aria-expanded="true"] span{ background:transparent; }
  .burger[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
  .burger[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }
  @media (max-width:840px){ .burger{ display:flex; } }

  .mobile-panel{
    display:none; flex-direction:column; gap:4px; padding:10px 28px 22px;
    background:var(--bg); border-bottom:1px solid var(--border);
  }
  .mobile-panel.open{ display:flex; }
  .mobile-panel a{
    padding:13px 4px; font-weight:600; font-size:16px; color:var(--text); border-bottom:1px solid var(--border);
  }
  .mobile-panel a:last-of-type{ border-bottom:none; }
  .mobile-panel .btn-primary{ margin-top:10px; justify-content:center; }

  .mobile-dropdown{ border-bottom:1px solid var(--border); }
  .mobile-dd-trigger{
    display:flex; align-items:center; justify-content:space-between; width:100%;
    padding:13px 4px; color:var(--text);
    background:none; border:none; font:inherit; cursor:pointer;
    font-weight:600; font-size:16px; font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  }
  .mobile-dd-trigger svg{ transition:transform .25s ease; flex:none; color:var(--text-muted); }
  .mobile-dd-trigger[aria-expanded="true"] svg{ transform:rotate(180deg); }
  .mobile-dd-menu{ max-height:0; overflow:hidden; transition:max-height .3s ease; display:flex; flex-direction:column; }
  .mobile-dd-menu.open{ max-height:420px; }
  .mobile-dd-menu a{ border-bottom:none; padding:11px 4px 11px 14px; font-size:15px; font-weight:600; color:var(--text-muted); }
  .mobile-dd-menu a:first-child{ padding-top:2px; }
  .mobile-dd-menu a:last-child{ padding-bottom:14px; }

  /* hero */
  .hero{ position:relative; }
  .hero-media{
    position:relative; width:100%; overflow:hidden;
    height:clamp(480px, 66vw, 680px);
  }
  .hero-media img{
    width:100%; height:100%; object-fit:cover; object-position:center 32%;
  }
  .hero-scrim{
    position:absolute; inset:0;
    background:
      linear-gradient(0deg, rgba(4,14,28,.86) 0%, rgba(4,14,28,.55) 34%, rgba(4,14,28,.08) 62%, rgba(4,14,28,.28) 100%);
  }
  .hero-content{
    position:absolute; inset:0; display:flex; align-items:flex-end; padding-bottom:52px;
  }
  .hero-content .wrap{ width:100%; }
  .hero h1{ font-size:clamp(36px,5.4vw,64px); line-height:1.08; letter-spacing:-.01em; color:#fff; max-width:31ch; }
  .hero h1 em{ font-style:normal; color:var(--iri-a); }
  .hero .eyebrow{ color:var(--iri-a); }
  .hero p.lead{ font-size:22px; line-height:1.5; color:rgba(255,255,255,.88); max-width:46ch; margin-top:18px; }
  .hero-cta{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
  .hero .btn-ghost{ border-color:rgba(255,255,255,.6); color:#fff; }
  .hero .btn-ghost:hover{ border-color:#fff; }

  .trust-bar{ background:var(--surface-alt); border-bottom:1px solid var(--border); }
  .trust-row{ display:flex; align-items:center; gap:22px; padding:16px 0; font-size:14px; color:var(--text-muted); font-weight:600; flex-wrap:wrap; justify-content:center; }
  .trust-row a{ color:var(--text-muted); }
  .trust-row a:hover{ color:var(--accent); }
  .trust-contact{ display:inline-flex; align-items:center; gap:22px; }

  .bubble{
    position:absolute; border-radius:50%; pointer-events:none;
    background:radial-gradient(circle at 30% 25%, #fff, var(--iri-a) 45%, var(--iri-b) 80%);
    opacity:.85; mix-blend-mode:normal;
    box-shadow: inset -4px -6px 10px rgba(255,255,255,.5), inset 4px 6px 14px rgba(90,120,180,.25);
    z-index:2;
  }
  @media (prefers-reduced-motion:no-preference){
    .bubble{ animation:drift 9s ease-in-out infinite; }
  }
  @keyframes drift{
    0%,100%{ transform:translateY(0) translateX(0) scale(1); }
    50%{ transform:translateY(-16px) translateX(6px) scale(1.04); }
  }

  /* section headers */
  .sec-head{ max-width:640px; margin:0 auto 44px; text-align:center; }
  .sec-head h2{ font-size:clamp(28px,3.6vw,40px); margin-top:10px; }
  .sec-head p{ color:var(--text-muted); font-size:16.5px; margin-top:14px; }
  .band{ padding:88px 0; }
  #galeria.band{ padding-bottom:68px; }
  .band-tight{ padding:75px 0; }
  .band-alt{ background:var(--surface-alt); }
  .band-decor{ overflow:hidden; }
  .band-decor::before{
    content:""; position:absolute; pointer-events:none; z-index:0;
    width:520px; height:520px; border-radius:50%; top:-220px; right:-160px;
    background:radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--iri-a) 55%, transparent), transparent 68%);
    opacity:.5;
  }
  .band-decor::after{
    content:""; position:absolute; pointer-events:none; z-index:0;
    width:340px; height:340px; border-radius:50%; bottom:-160px; left:-120px;
    background:radial-gradient(circle at 60% 60%, color-mix(in srgb, var(--iri-b) 50%, transparent), transparent 70%);
    opacity:.4;
  }
  .band-decor > .wrap{ position:relative; z-index:1; }

  /* show cards */
  .card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
  @media (max-width:920px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:620px){ .card-grid{ grid-template-columns:1fr; } }
  .card{
    background:var(--surface); border:1px solid var(--border); border-radius:22px; overflow:hidden;
    display:flex; flex-direction:column; box-shadow:var(--shadow);
    transition:transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
  }
  .card:hover{ transform:translateY(-6px); box-shadow:0 22px 44px -20px rgba(25,97,216,.35); border-color:color-mix(in srgb, var(--accent) 35%, var(--border)); }
  .card-photo{ aspect-ratio:4/3; overflow:hidden; }
  .card-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
  .card:hover .card-photo img{ transform:scale(1.06); }
  .card-body{ padding:22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
  .card-body h3{ font-size:20px; }
  .card-body p{ color:var(--text-muted); font-size:14.5px; flex:1; }
  .card-link{ font-weight:700; color:var(--accent); font-size:14.5px; display:inline-flex; align-items:center; gap:6px; }
  .card-link svg{ transition:transform .3s; }
  .card:hover .card-link svg{ transform:translateX(4px); }

  /* steps */
  .steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step; }
  @media (max-width:920px){ .steps{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
  .step{ position:relative; padding:30px 22px 24px; background:var(--surface); border:1px solid var(--border); border-radius:20px; }
  .step .num{ font-family:'Baloo 2',sans-serif; font-weight:800; font-size:46px; color:var(--accent); display:block; margin-bottom:10px; line-height:1; }
  .step h3{ font-size:17px; margin-bottom:8px; }
  .step p{ color:var(--text-muted); font-size:14px; }

  /* about / artist */
  .about{ display:grid; grid-template-columns:.8fr 1.2fr; gap:52px; align-items:center; }
  @media (max-width:880px){ .about{ grid-template-columns:1fr; } }
  .about-photo{ border-radius:24px; overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); }
  .about-photo img{ width:100%; height:auto; display:block; }
  .fact{
    margin-top:22px; padding:16px 18px; border-radius:16px; background:var(--surface-alt);
    border:1px solid var(--border); font-size:14px; color:var(--text-muted);
  }
  .fact b{ color:var(--text); }

  /* gallery strip */
  .gal-wrap{ max-width:1260px; }
  .gal-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
  @media (max-width:760px){ .gal-strip{ grid-template-columns:repeat(2,1fr);} }
  /* 6-photo variant used on the detske subpage gallery (scoped so the 4-photo homepage strip is unaffected) */
  .gal-strip-6{ grid-template-columns:repeat(3,1fr); }
  @media (max-width:760px){ .gal-strip-6{ grid-template-columns:repeat(2,1fr);} }
  .gal-item{ border-radius:18px; overflow:hidden; aspect-ratio:1; border:1px solid var(--border); }
  .gal-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
  .gal-item:hover img{ transform:scale(1.08); }

  /* references: client logo strip + stats */
  .logo-strip{
    display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
    gap:clamp(36px,5.5vw,68px); margin:0 auto 64px; max-width:1020px;
  }
  .logo-cell{ display:flex; align-items:center; justify-content:center; height:76px; }
  .logo-strip img{
    height:56px; width:auto; max-width:190px; object-fit:contain;
    opacity:.85; filter:grayscale(1) contrast(1.4); transition:opacity .3s ease, transform .3s ease;
  }
  .logo-strip img:hover{ opacity:1; transform:translateY(-2px); }
  /* optical size balancing: narrow/square marks get extra height so they don't read smaller than wide wordmarks like KIA, Samsung or TMR */
  .logo-strip img.lg-boost-sm{ height:62px; }
  .logo-strip img.lg-boost-md{ height:70px; }
  .logo-strip img.lg-boost-lg{ height:76px; }
  .stats-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  }
  @media (max-width:900px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }
  .stat-card{
    text-align:center; padding:30px 16px; background:var(--surface);
    border:1px solid var(--border); border-radius:20px;
  }
  .stat-num, .stat-text{
    font-family:'Baloo 2',sans-serif; font-weight:800; color:var(--accent);
    line-height:1; display:block;
  }
  .stat-num{ font-size:clamp(30px,4vw,44px); }
  .stat-num::after{ content:'+'; }
  .stat-text{ font-size:clamp(17px,2.1vw,22px); letter-spacing:.02em; overflow-wrap:break-word; word-break:break-word; hyphens:auto; }
  .stat-card p{ margin-top:12px; color:var(--text-muted); font-size:14.5px; font-weight:600; }

  /* references: customer review cards */
  .review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:56px; }
  @media (max-width:900px){ .review-grid{ grid-template-columns:1fr; max-width:480px; margin-left:auto; margin-right:auto; } }
  .review-card{
    background:var(--surface); border:1px solid var(--border); border-radius:20px;
    padding:26px 24px; display:flex; flex-direction:column;
  }
  .review-stars{ color:#F5A623; font-size:15px; letter-spacing:2px; }
  .review-quote{ margin-top:14px; font-size:17px; color:var(--text); font-style:italic; line-height:1.55; flex:1; }
  .review-author{ margin-top:16px; font-size:13.5px; font-weight:700; color:var(--text-muted); }
  .review-summary{ text-align:center; margin-top:36px; }
  .review-summary p{
    display:inline-block; color:var(--accent-2); font-size:16.5px; font-weight:800;
    background:var(--accent-soft); padding:10px 22px; border-radius:999px;
  }
  .review-summary .btn{ margin-top:20px; }

  /* contact band */
  .contact-band{
    background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius:32px; padding:56px 44px; color:#fff; text-align:center;
    box-shadow:var(--shadow);
  }
  .contact-band h2{ color:#fff; font-size:clamp(26px,3.4vw,36px); }
  .contact-band p{ color:rgba(255,255,255,.88); max-width:52ch; margin:14px auto 0; }
  .contact-band .hero-cta{ justify-content:center; margin-top:28px; }
  .contact-band .btn-primary{
    background:#fff; color:var(--accent-2); box-shadow:0 16px 34px rgba(6,20,50,.3);
    font-size:16px; padding:15px 30px;
  }
  .contact-band .btn-ghost{
    border-color:rgba(255,255,255,.45); color:rgba(255,255,255,.9); font-size:14.5px;
  }
  .contact-band .btn-ghost:hover{ border-color:#fff; color:#fff; }
  .contact-band .btn-primary{ background:#fff; color:var(--accent-2); box-shadow:none; }

  footer{ padding:56px 0 40px; border-top:1px solid var(--border); }
  .foot-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:28px; }
  .foot-col h4{ font-family:'Manrope'; font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:var(--text-muted); margin-bottom:14px; }
  .foot-col a, .foot-col p{ font-size:14.5px; color:var(--text); display:block; margin-bottom:8px; }
  .foot-col a:hover{ color:var(--accent); }
  .foot-bottom{ margin-top:40px; padding-top:22px; border-top:1px solid var(--border); font-size:13px; color:var(--text); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
  .foot-bottom a{ color:var(--text); }
  .foot-bottom a:hover{ color:var(--accent); }

  .reveal{ opacity:0; transform:translateY(24px); }

  /* video */
  .video-wrap{ max-width:860px; margin:0 auto; }
  .video-card{
    position:relative; border-radius:26px; overflow:hidden; aspect-ratio:16/9;
    background:linear-gradient(135deg, var(--accent-2), var(--accent) 60%, var(--iri-b));
    box-shadow:var(--shadow); border:1px solid var(--border); cursor:pointer;
  }
  .video-card img{ width:100%; height:100%; object-fit:cover; display:block; }
  .video-play{
    position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px;
    background:linear-gradient(180deg, rgba(6,16,30,.32) 0%, rgba(6,16,30,.18) 40%, rgba(6,16,30,.5) 100%);
    border:none; padding:0; cursor:pointer;
  }
  .video-play .disc{
    width:116px; height:116px; border-radius:50%; background:rgba(255,255,255,.96);
    display:flex; align-items:center; justify-content:center; box-shadow:0 14px 34px rgba(0,0,0,.4);
    transition:transform .3s cubic-bezier(.34,1.56,.64,1);
  }
  .video-card:hover .disc{ transform:scale(1.08); }
  .video-play svg{ margin-left:4px; }
  .video-play-label{
    color:#fff; font-weight:700; font-size:14px; letter-spacing:.01em;
    background:rgba(6,16,30,.4); backdrop-filter:blur(4px);
    padding:8px 18px; border-radius:999px;
  }
  .video-caption{ text-align:center; margin-top:16px; color:var(--text-muted); font-size:14.5px; font-weight:600; }

  ::selection{ background:var(--accent-soft); color:var(--accent-2); }

  /* ===== router / subpages ===== */
  .back-link{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:14px; color:var(--text-muted); }
  .back-link:hover{ color:var(--accent); }
  .back-link svg{ transition:transform .2s ease; }
  .back-link:hover svg{ transform:translateX(-3px); }
  .back-link-wrap{ padding:22px 0 0; display:flex; align-items:center; }
  .back-link.back-link-compact{ display:none; }

  .breadcrumb{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--text-muted); }
  .breadcrumb a{ color:var(--text-muted); }
  .breadcrumb a:hover{ color:var(--accent); }
  .breadcrumb .breadcrumb-sep{ color:var(--border); }
  .breadcrumb .breadcrumb-current{ color:var(--text); font-weight:700; }
  @media (max-width:840px){
    .breadcrumb{ display:none; }
    .back-link.back-link-compact{ display:inline-flex; }
  }

  .sub-hero{ position:relative; }
  .sub-hero-media{ position:relative; width:100%; overflow:hidden; height:clamp(320px, 42vw, 460px); }
  .sub-hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 38%; }
  .sub-hero-scrim{
    position:absolute; inset:0;
    background:linear-gradient(0deg, rgba(4,14,28,.82) 0%, rgba(4,14,28,.45) 40%, rgba(4,14,28,.05) 68%, rgba(4,14,28,.22) 100%);
  }
  .sub-hero-content{ position:absolute; inset:0; display:flex; align-items:flex-end; padding-bottom:40px; }
  .sub-hero h1{ font-size:clamp(30px,4.6vw,50px); line-height:1.08; color:#fff; max-width:20ch; }
  .sub-hero .eyebrow{ color:var(--iri-a); }
  .sub-hero p.lead{ font-size:16.5px; color:rgba(255,255,255,.92); max-width:54ch; margin-top:14px; }
  .sub-hero .btn-ghost{ border-color:rgba(255,255,255,.7); color:#fff; }
  .sub-hero .btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,.12); }

  .fact-strip{ display:flex; flex-wrap:wrap; gap:14px; margin:30px 0 6px; }
  .fact-chip{
    display:flex; align-items:center; gap:8px; background:var(--surface-alt); border:1px solid var(--border);
    border-radius:999px; padding:10px 16px; font-size:14px; font-weight:700; color:var(--text);
  }

  .feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
  @media (max-width:920px){ .feat-grid{ grid-template-columns:1fr; } }
  .feat-card{ padding:24px 22px; background:var(--surface); border:1px solid var(--border); border-radius:20px; }
  .feat-card .feat-icon{ font-size:26px; display:block; }
  .feat-card h3{ font-size:17px; margin-top:12px; }
  .feat-card p{ color:var(--text-muted); font-size:14.5px; margin-top:8px; }

  /* compact practical-info grid used on subpages */
  .info-title{ font-size:13px; margin:40px 0 14px; }
  .info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  @media (max-width:760px){ .info-grid{ grid-template-columns:repeat(2,1fr); } }
  .info-item{ padding:14px 16px; background:var(--surface); border:1px solid var(--border); border-radius:14px; }
  .info-item .info-label{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); }
  .info-item .info-value{ font-size:14.5px; font-weight:700; color:var(--text); margin-top:4px; }
  @media (max-width:480px){
    /* compact 2-col pairing: length|age, place|reach, then equipment and floor protection full-width */
    .info-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
    .info-length{ order:1; }
    .info-age{ order:2; }
    .info-place{ order:3; }
    .info-reach{ order:4; }
    .info-equipment{ order:5; grid-column:1 / -1; }
    .info-floor{ order:6; grid-column:1 / -1; }
  }

  .related-band{ padding:60px 0; }
  .related-shows{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:14px; }
  .related-chip{ padding:14px 26px; border-radius:999px; border:1.5px solid var(--border); background:var(--surface); font-weight:700; font-size:15px; color:var(--text); box-shadow:var(--shadow); transition:transform .25s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, color .2s ease; }
  .related-chip:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
  @media (max-width:600px){ .related-chip{ padding:12px 20px; font-size:14px; } }
  @media (max-width:480px){ .related-band{ padding:38px 0; } }

  /* Anchor / sticky-header offset safety net: whenever a section is reached via a same-page
     anchor link or a JS scrollIntoView() call, its heading must not land underneath the sticky
     header. Covers FAQ, Galéria, Praktické informácie and Referencie (all rendered as
     "<section class="band ..." id="...">") plus the related-shows band ("Iné typy show").
     Measured sticky header heights: ~101px unscrolled / ~97px scrolled on mobile widths
     (360-430px), ~143px unscrolled / ~97px scrolled on desktop - values below add a small buffer
     on top of the taller (unscrolled) state so the offset is always enough regardless of scroll
     position at the moment of the jump. */
  .band[id], .related-band, .info-title{ scroll-margin-top:112px; }
  @media (min-width:841px){
    .band[id], .related-band, .info-title{ scroll-margin-top:158px; }
  }

  /* ===== gallery page ===== */
  .gal-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:36px; }
  .gal-filter-btn{
    padding:9px 18px; border-radius:999px; border:1px solid var(--border); background:var(--surface);
    font:inherit; font-weight:700; font-size:13.5px; color:var(--text-muted); cursor:pointer; transition:all .2s ease;
  }
  .gal-filter-btn:hover{ color:var(--accent); }
  .gal-filter-btn.active{ background:var(--accent); border-color:var(--accent); color:#fff; }
  .gal-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
  @media (max-width:920px){ .gal-grid{ grid-template-columns:repeat(3,1fr); } }
  @media (max-width:620px){ .gal-grid{ grid-template-columns:repeat(2,1fr); } }
  .gal-grid-item{ border-radius:16px; overflow:hidden; aspect-ratio:1; border:1px solid var(--border); cursor:pointer; position:relative; background:none; padding:0; display:block; width:100%; }
  .gal-grid-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; display:block; }
  .gal-grid-item:hover img{ transform:scale(1.08); }
  .gal-grid-item[hidden]{ display:none; }

  .lightbox{
    position:fixed; inset:0; background:rgba(4,10,20,.92); display:flex; align-items:center; justify-content:center;
    z-index:200; padding:60px 20px; opacity:0; pointer-events:none; visibility:hidden; transition:opacity .25s ease, visibility 0s linear .25s;
  }
  .lightbox.open{ opacity:1; pointer-events:auto; visibility:visible; transition:opacity .25s ease, visibility 0s; }
  .lightbox img{ max-width:100%; max-height:100%; border-radius:14px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
  .lightbox-close, .lightbox-nav{
    position:absolute; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3);
    color:#fff; font-size:20px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  }
  .lightbox-close{ top:22px; right:26px; width:44px; height:44px; }
  .lightbox-nav{ top:50%; transform:translateY(-50%); width:48px; height:48px; font-size:22px; }
  .lightbox-prev{ left:20px; }
  .lightbox-next{ right:20px; }
  @media (max-width:600px){ .lightbox-nav{ display:none; } }

  /* ===== contact page ===== */
  .contact-layout{ display:grid; grid-template-columns:1.3fr .9fr; gap:44px; align-items:start; }
  @media (max-width:900px){ .contact-layout{ grid-template-columns:1fr; } }
  .contact-form-card{ background:var(--surface); border:1px solid var(--border); border-radius:24px; padding:34px; box-shadow:var(--shadow); }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  @media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
  .field{ margin-bottom:18px; display:flex; flex-direction:column; gap:7px; }
  .field label{ font-size:13.5px; font-weight:700; color:var(--text); }
  .field input, .field select, .field textarea{
    width:100%; padding:12px 14px; border-radius:12px; border:1.5px solid var(--border); background:var(--bg);
    color:var(--text); font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:15px; transition:border-color .2s ease;
  }
  .field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }
  .field textarea{ resize:vertical; min-height:110px; font-family:inherit; }
  .field-check{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--text-muted); }
  .field-check input{ margin-top:3px; flex:none; }
  .honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
  .form-msg{ margin-top:16px; padding:14px 16px; border-radius:14px; font-size:14.5px; font-weight:600; display:none; }
  .form-msg.show{ display:block; }
  .form-msg.success{ background:#E3F6E8; color:#1B7A3D; }
  .form-msg.error{ background:#FCE8E6; color:#B3261E; }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]) .form-msg.success{ background:#123A24; color:#7EDC9D; }
    :root:not([data-theme="light"]) .form-msg.error{ background:#3A1414; color:#F3A29B; }
  }
  :root[data-theme="dark"] .form-msg.success{ background:#123A24; color:#7EDC9D; }
  :root[data-theme="dark"] .form-msg.error{ background:#3A1414; color:#F3A29B; }
  .submit-btn{ width:100%; justify-content:center; margin-top:6px; border:none; }
  .submit-btn[disabled]{ opacity:.6; cursor:default; }

  .contact-info-card{ background:var(--surface-alt); border:1px solid var(--border); border-radius:24px; padding:30px; margin-bottom:22px; }
  .contact-info-card h3{ font-size:18px; margin-bottom:16px; }
  .info-row{ display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); font-size:14.5px; font-weight:600; }
  .info-row:last-of-type{ border-bottom:none; }
  .info-row a{ color:var(--text); }
  .info-row a:hover{ color:var(--accent); }

  .faq-list{ margin-top:6px; }
  .faq-item{ border-bottom:1px solid var(--border); }
  .faq-q{
    width:100%; display:flex; justify-content:space-between; align-items:center; gap:14px; padding:16px 4px;
    background:none; border:none; font-family:inherit; font-weight:700; font-size:15px; color:var(--text); text-align:left; cursor:pointer;
  }
  .faq-icon{
    width:28px; height:28px; border-radius:50%; flex:none;
    background:var(--surface-alt); border:1.5px solid var(--border); color:var(--accent);
    display:flex; align-items:center; justify-content:center;
    transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  }
  .faq-item.open .faq-icon{ background:var(--accent); border-color:var(--accent); color:#fff; transform:rotate(180deg); }
  .faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
  .faq-item.open .faq-a{ max-height:280px; }
  .faq-a p{ padding:0 4px 16px; color:var(--text-muted); font-size:14.5px; line-height:1.6; }

  /* ===== mobile polishing pass (phones, ~360-430px) ===== */
  @media (max-width:480px){
    /* 1. hero: content-driven height so the H1 can never be clipped by the fixed-height crop box */
    .hero-media{ height:auto; }
    .hero-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
    .hero-content{ position:relative; inset:auto; display:block; padding:34px 0 36px; }
    .hero h1{ font-size:clamp(34px, 9.1vw, 38px); max-width:none; }
    .hero p.lead{ font-size:16.5px; line-height:1.5; max-width:none; }
    .hero-cta{ margin-top:22px; }
    /* text now spans nearly the full hero height on mobile, so the scrim needs a higher,
       more even floor of darkness behind it (still subtle) instead of the desktop vignette's
       very light middle band */
    .hero-scrim{
      background:
        linear-gradient(0deg, rgba(4,14,28,.85) 0%, rgba(4,14,28,.6) 28%, rgba(4,14,28,.46) 55%, rgba(4,14,28,.56) 100%);
    }

    /* 2. contact strip under hero: two clean lines, no dangling separator */
    .trust-row{ flex-direction:column; gap:6px; padding:14px 0; }
    .trust-dot-mid{ display:none; }
    .trust-contact{ flex-wrap:wrap; justify-content:center; gap:10px; }
    .trust-contact .trust-dot{ display:none; }

    /* 3. video caption: lighter weight so it doesn't compete with the section heading */
    .video-caption{ font-weight:500; }

    /* 5. "ako to funguje" steps: more compact vertically, numbers stay bold */
    .steps{ gap:14px; }
    .step{ padding:22px 20px 20px; }

    /* 7. client logos: regular grid, uniform cell, optically unified */
    .logo-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px 14px; max-width:none; }
    .logo-cell{ height:52px; }
    .logo-strip img,
    .logo-strip img.lg-boost-sm,
    .logo-strip img.lg-boost-md,
    .logo-strip img.lg-boost-lg{ height:auto; max-height:44px; width:auto; max-width:100%; }

    /* 9. review summary badge: compact, clearly secondary to the CTA button below it */
    .review-summary p{ font-size:13px; padding:7px 16px; }
    .review-summary .btn{ white-space:normal; text-align:center; font-size:13.5px; padding:12px 18px; }

    /* 10. gallery: tighten the gap before FAQ */
    #galeria.band{ padding-bottom:32px; }

    /* 11. FAQ: bigger tap targets/text, tighter gap before + after */
    #faq.band{ padding-top:60px; padding-bottom:56px; }
    .faq-q{ font-size:16px; padding:18px 4px; }

    /* 12. final CTA: fits ~3 lines, more compact box */
    .contact-band{ padding:34px 16px; }
    .contact-band h2{ font-size:clamp(21px, 7vw, 24px); max-width:19ch; margin:0 auto; }

    /* 13. footer: tighter vertical rhythm between blocks */
    footer{ padding:36px 0 30px; }
    .foot-grid{ gap:30px; }
    .foot-col h4{ margin-bottom:10px; }
    .foot-col a, .foot-col p{ margin-bottom:6px; }
    .foot-bottom{ margin-top:26px; padding-top:16px; }

    /* 14. subpages (sub-hero): same content-driven-height fix as the homepage hero above,
       so the H1 can never be clipped by a fixed-height crop box under the sticky header */
    .back-link-wrap{ padding:14px 0 0; }
    .sub-hero-media{ height:auto; }
    .sub-hero-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
    .sub-hero-content{ position:relative; inset:auto; display:block; padding:20px 0 26px; }
    .sub-hero h1{ font-size:clamp(28px, 7.8vw, 34px); max-width:none; }
    /* Školy a škôlky has the longest H1 of the 5 subpages ("Bublinová show pre školy a škôlky
       – zábavný a vzdelávací program"); the shared clamp() above wraps it to 5 lines at
       360-390px, making the hero unnecessarily tall (still fully visible/no clipping, but
       taller than needed). Scoped to this one page only, so the other 4 subpages' already
       approved hero typography is untouched. Text itself is unchanged. */
    #page-show-skolky .sub-hero h1{ font-size:clamp(26px, 7.3vw, 33px); line-height:1.1; }
    .sub-hero p.lead{ font-size:15.5px; line-height:1.5; max-width:none; }
    .sub-hero .hero-cta{ margin-top:18px; }
    .sub-hero-scrim{
      background:
        linear-gradient(0deg, rgba(4,14,28,.85) 0%, rgba(4,14,28,.6) 28%, rgba(4,14,28,.46) 55%, rgba(4,14,28,.56) 100%);
    }
    /* facts should follow the hero closely instead of leaving a large empty gap */
    .sub-hero + .band{ padding-top:38px; }
    .fact-strip{ margin-top:0; }
  }

/* ---- production additions (build_production.py) ---- */
.lang-switch a{
  border:none; background:none; font:inherit; font-size:12.5px; font-weight:800; letter-spacing:.03em;
  padding:6px 10px; border-radius:999px; color:var(--text-muted); cursor:pointer; transition:background .2s ease, color .2s ease;
  text-decoration:none; display:inline-block;
}
.lang-switch a:hover{ color:var(--accent); }
.lang-switch a.active{ background:var(--surface); color:var(--accent); box-shadow:var(--shadow); }

/* button hover scale, previously a GSAP tween on mouseenter */
.btn-primary{ transition:transform .18s ease; }
.btn-primary:hover{ transform:scale(1.045); }

/* scroll-reveal, previously GSAP fromTo + ScrollTrigger */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; opacity:1; transform:none; }
  .btn-primary{ transition:none; }
}
