/* KaM Energy - hlavní styly */


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

    :root {
      --bg:       #07090e;
      --bg2:      #0b0f18;
      --bg3:      #0f1520;
      --surface:  #121a27;
      --surface2: #172030;
      --gold:     #c9a84c;
      --gold-l:   #e8c97a;
      --gold-d:   #a07830;
      --gold-glow:rgba(201,168,76,0.15);
      --stone:    #8899aa;
      --stone2:   #4a5a6e;
      --text:     #dde4ee;
      --text2:    #a8b8cc;
      --border:   rgba(255,255,255,0.06);
      --border-g: rgba(201,168,76,0.2);
    }

    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Outfit', sans-serif;
      font-weight: 400;
      overflow-x: hidden;
    }

    /* grain */
    body::after {
      content: '';
      position: fixed; inset: 0; z-index: 9998; pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
      opacity: 0.5;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      height: 72px;
      display: flex; align-items: center;
      padding: 0 4rem;
      background: rgba(7,9,14,0.92);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }

    .logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
    .logo-img {
      height: 46px; width: auto;
      transition: opacity 0.2s;
      color: #ffffff;
      fill: #ffffff;
    }
    .logo-img path, .logo-img text, .logo-img rect {
      fill: #ffffff;
    }
    .logo:hover .logo-img { opacity: 0.85; }
    .logo-sub2 {
      font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--stone2); font-weight: 500; margin-top: 2px;
      white-space: nowrap;
    }

    nav ul { display: flex; align-items: center; gap: 0.1rem; list-style: none; }
    nav a {
      color: var(--stone); text-decoration: none; font-size: 0.84rem;
      letter-spacing: 0.04em; padding: 0.45rem 1rem; border-radius: 6px;
      transition: color 0.22s, background 0.22s; font-weight: 500;
    }
    nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
    .nav-hamburger { display: none; }
    .nav-btn {
      background: var(--gold) !important; color: #0a0800 !important;
      font-weight: 700 !important; border-radius: 6px !important;
      padding: 0.48rem 1.3rem !important; letter-spacing: 0.06em !important;
      transition: background 0.22s !important;
    }
    .nav-btn:hover { background: var(--gold-l) !important; }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      position: relative; overflow: hidden;
      display: flex; align-items: flex-end;
      padding: 72px 0 0;
    }

    /* architectural line grid */
    .hero-grid {
      position: absolute; inset: 0; pointer-events: none;
      background-image:
        linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
      background-size: 80px 80px;
    }

    /* large radial glow top-left */
    .hero-glow {
      position: absolute; top: -20%; left: -15%;
      width: 900px; height: 900px; pointer-events: none;
      background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 60%);
    }
    /* subtle glow right */
    .hero-glow2 {
      position: absolute; bottom: -20%; right: 0%;
      width: 600px; height: 600px; pointer-events: none;
      background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 60%);
    }

    /* big angled background block */
    .hero-slab {
      position: absolute; top: 0; right: 0; bottom: 0; width: 48%;
      background: var(--bg2);
      clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    }
    .hero-slab-line {
      position: absolute; top: 0; bottom: 0;
      left: 52%; width: 1px;
      background: linear-gradient(to bottom, transparent 5%, var(--gold-d) 30%, var(--gold-d) 70%, transparent 95%);
      opacity: 0.5;
    }

    .hero-content {
      position: relative; z-index: 2;
      max-width: 1200px; margin: 0 auto; padding: 0 4rem;
      width: 100%;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 4rem;
      padding-top: 7rem; padding-bottom: 7rem;
    }

    /* left */
    .hero-tag {
      display: inline-flex; align-items: center; gap: 0.7rem;
      margin-bottom: 2rem;
    }
    .htag-line { width: 32px; height: 1px; background: var(--gold); }
    .htag-text {
      font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
      color: var(--gold); font-weight: 600;
    }

    .hero h1 {
      font-size: clamp(3rem, 5.5vw, 5.2rem);
      font-weight: 900; line-height: 1.0; letter-spacing: -0.025em;
      color: var(--text); margin-bottom: 1.8rem;
    }
    .hero h1 .accent {
      color: var(--gold);
      display: block;
    }
    .hero h1 .thin { font-weight: 300; color: var(--stone); }

    .hero-lead {
      font-size: 1rem; line-height: 1.75; color: var(--text2);
      max-width: 38ch; margin-bottom: 3rem; font-weight: 400;
    }

    .hero-ctas { display: flex; gap: 0.9rem; align-items: center; }

    .cta-main {
      background: var(--gold); color: #0a0800;
      padding: 0.95rem 2.2rem; border-radius: 8px;
      font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em;
      text-decoration: none; text-transform: uppercase;
      transition: background 0.25s, transform 0.2s, box-shadow 0.3s;
    }
    .cta-main:hover {
      background: var(--gold-l);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(201,168,76,0.3);
    }

    .cta-sec {
      color: var(--stone); font-size: 0.88rem; font-weight: 500;
      text-decoration: none; letter-spacing: 0.04em;
      display: flex; align-items: center; gap: 0.5rem;
      transition: color 0.22s;
    }
    .cta-sec:hover { color: var(--text); }
    .cta-sec::after { content: '↓'; }

    /* right: hero visual cards */
    .hero-cards { display: flex; flex-direction: column; gap: 1rem; }

    .hcard {
      background: rgba(18,26,39,0.8);
      border: 1px solid var(--border);
      border-radius: 10px; padding: 1.6rem 1.8rem;
      backdrop-filter: blur(8px);
      transition: border-color 0.3s, transform 0.3s;
      position: relative; overflow: hidden;
    }
    .hcard::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 3px; height: 100%;
      background: linear-gradient(to bottom, var(--gold), var(--gold-d));
      opacity: 0; transition: opacity 0.3s;
    }
    .hcard:hover { border-color: var(--border-g); transform: translateX(6px); }
    .hcard:hover::before { opacity: 1; }

    .hcard-label {
      font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold); font-weight: 600; margin-bottom: 0.5rem;
    }
    .hcard-title {
      font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem;
    }
    .hcard-desc { font-size: 0.82rem; line-height: 1.6; color: var(--text2); }
    .hcard-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
    .hpill {
      font-size: 0.66rem; letter-spacing: 0.08em;
      color: var(--stone2); background: rgba(255,255,255,0.04);
      border: 1px solid var(--border); border-radius: 4px;
      padding: 0.18rem 0.5rem; font-weight: 500;
    }

    /* bottom hero bar */
    .hero-bar {
      position: relative; z-index: 2;
      background: var(--surface);
      border-top: 1px solid var(--border);
    }
    .hero-bar-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 4rem;
      display: flex; align-items: stretch;
    }
    .hb-item {
      flex: 1; padding: 1.6rem 2rem;
      border-right: 1px solid var(--border);
      display: flex; flex-direction: column; align-items: center;
    }
    .hb-item:last-child { border-right: none; }
    .hb-num {
      font-size: 2rem; font-weight: 800; line-height: 1;
      color: var(--gold);
    }
    .hb-lbl {
      font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--stone2); margin-top: 0.3rem; font-weight: 600;
    }

    /* ── GENERIC SECTION ── */
    .sec { padding: 7rem 0; }
    .cont { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }

    .sec-eyebrow {
      display: flex; align-items: center; gap: 0.7rem;
      margin-bottom: 0.9rem;
    }
    .sec-eyebrow span {
      font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
      color: var(--gold); font-weight: 600;
    }
    .sec-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

    .sec-h {
      font-size: clamp(2rem, 3.8vw, 3.2rem);
      font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
      color: var(--text);
    }

    /* ── SERVICES ── */
    .services-sec { background: var(--bg2); }

    .svc-top {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 4rem; align-items: end; margin-bottom: 4rem;
    }
    .svc-lead {
      font-size: 0.95rem; line-height: 1.78; color: var(--text2); font-weight: 400;
    }

    /* tab strip */
    .tab-strip {
      display: flex; gap: 0; margin-bottom: 3rem;
      border-bottom: 1px solid var(--border);
      width: 100%;
    }
    .tab {
      flex: 1; text-align: center;
      padding: 0.9rem 1rem;
      font-size: 0.84rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--stone2); cursor: pointer; border: none; background: none;
      font-family: 'Outfit', sans-serif;
      border-bottom: 2px solid transparent; margin-bottom: -1px;
      transition: color 0.25s, border-color 0.25s, background 0.25s;
    }
    .tab:hover { color: var(--text); background: rgba(255,255,255,0.02); }
    .tab.on { color: var(--gold); border-color: var(--gold); }

    .panel { display: none; }
    .panel.show { display: grid; }
    .g3 { grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
    .g2 { grid-template-columns: repeat(2,1fr); gap: 1.2rem; }

    .sc {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px; padding: 2rem;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
      position: relative; overflow: hidden;
    }
    .sc::after {
      content: ''; position: absolute;
      bottom: 0; left: 0; width: 100%; height: 2px;
      background: linear-gradient(90deg, var(--gold-d), var(--gold));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    }
    .sc:hover { border-color: var(--border-g); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
    .sc:hover::after { transform: scaleX(1); }

    .sc-ico {
      font-size: 1.6rem; margin-bottom: 1.2rem;
      display: block;
    }
    .sc-title {
      font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.6rem;
    }
    .sc-desc { font-size: 0.83rem; line-height: 1.65; color: var(--text2); }

    /* ── PROJEKCE SHOWCASE ── */
    .projekce-sec { background: var(--bg); }

    .proj-layout {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }

    .proj-steps { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
    .ps {
      display: flex; gap: 1.4rem; align-items: flex-start;
      padding: 1.6rem 0;
      border-bottom: 1px solid var(--border);
    }
    .ps:first-child { padding-top: 0; }
    .ps:last-child { border-bottom: none; }
    .ps-num {
      font-size: 2rem; font-weight: 900; line-height: 1;
      color: rgba(201,168,76,0.15); flex-shrink: 0; width: 2.5rem;
    }
    .ps-title {
      font-size: 0.98rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem;
    }
    .ps-text { font-size: 0.83rem; line-height: 1.65; color: var(--text2); }

    /* visual side: blueprint mock */
    .blueprint {
      background: var(--surface);
      border: 1px solid var(--border-g);
      border-radius: 12px; padding: 2.5rem;
      position: relative; overflow: hidden;
      aspect-ratio: 1;
    }
    .bp-label {
      position: absolute; top: 1rem; left: 1.5rem;
      font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold); font-weight: 600;
    }
    .bp-scale {
      position: absolute; bottom: 1rem; right: 1.5rem;
      font-size: 0.6rem; letter-spacing: 0.18em; color: var(--stone2);
    }
    .bp-svg { width: 100%; height: 100%; position: relative; z-index: 1; }

    /* ── REALIZACE / GALLERY ── */
    .real-sec { background: var(--bg2); }

    .real-head {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 2.5rem;
    }
    .link-more {
      font-size: 0.82rem; color: var(--stone2); text-decoration: none;
      display: flex; align-items: center; gap: 0.4rem; font-weight: 500;
      transition: color 0.22s;
    }
    .link-more:hover { color: var(--gold); }
    .link-more::after { content: '→'; }

    .real-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: 260px 220px;
      gap: 10px;
    }

    .rcard {
      position: relative; border-radius: 8px; overflow: hidden;
      cursor: pointer;
      background: var(--surface2);
      border: 1px solid var(--border);
    }
    .rcard:nth-child(1) { grid-column: span 5; grid-row: span 2; }
    .rcard:nth-child(2) { grid-column: span 4; }
    .rcard:nth-child(3) { grid-column: span 3; }
    .rcard:nth-child(4) { grid-column: span 3; }
    .rcard:nth-child(5) { grid-column: span 4; }

    .rcard-bg { position: absolute; inset: 0; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
    .rcard:hover .rcard-bg { transform: scale(1.05); }

    /* css architectural art */
    .rb1 {
      background:
        radial-gradient(circle at 40% 60%, rgba(201,168,76,0.1) 0%, transparent 55%),
        linear-gradient(150deg, #0e1620 0%, #142030 60%, #0f1824 100%);
    }
    .rb2 {
      background:
        radial-gradient(circle at 60% 30%, rgba(201,168,76,0.08) 0%, transparent 50%),
        linear-gradient(130deg, #161220 0%, #201830 100%);
    }
    .rb3 {
      background: linear-gradient(145deg, #101820 0%, #182030 100%);
    }
    .rb4 {
      background: linear-gradient(160deg, #121a10 0%, #182018 100%);
    }
    .rb5 {
      background:
        radial-gradient(circle at 50% 70%, rgba(201,168,76,0.07) 0%, transparent 55%),
        linear-gradient(140deg, #181420 0%, #221c30 100%);
    }

    .rcard-svg {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .rcard-svg svg { opacity: 0.15; }

    .rcard-info {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 1.2rem 1.4rem;
      background: linear-gradient(to top, rgba(7,9,14,0.95) 0%, transparent 100%);
      transform: translateY(60%); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    }
    .rcard:hover .rcard-info { transform: translateY(0); }

    .rcard-tag {
      font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--gold); font-weight: 600; margin-bottom: 0.3rem;
    }
    .rcard-name {
      font-size: 0.92rem; font-weight: 700; color: var(--text); line-height: 1.3;
    }
    .rcard-loc { font-size: 0.73rem; color: var(--stone2); margin-top: 0.2rem; }

    /* ── PROCES ── */
    .proces-sec { background: var(--bg); }

    .proces-grid {
      display: grid; grid-template-columns: repeat(5, 1fr);
      gap: 0; margin-top: 4rem;
      border: 1px solid var(--border);
      border-radius: 12px; overflow: hidden;
    }
    .pstep {
      padding: 2.5rem 1.8rem;
      border-right: 1px solid var(--border);
      position: relative; background: var(--surface);
      transition: background 0.3s;
    }
    .pstep:last-child { border-right: none; }
    .pstep:hover { background: var(--surface2); }

    .pstep-num {
      font-size: 3rem; font-weight: 900; line-height: 1;
      color: rgba(201,168,76,0.12); margin-bottom: 1.2rem;
      transition: color 0.3s;
    }
    .pstep:hover .pstep-num { color: rgba(201,168,76,0.25); }

    .pstep-ico { font-size: 1.4rem; margin-bottom: 0.8rem; display: block; }

    .pstep-title {
      font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem;
    }
    .pstep-text { font-size: 0.78rem; line-height: 1.6; color: var(--text2); }

    /* arrow connector */
    .pstep::after {
      content: '›';
      position: absolute; top: 50%; right: -10px;
      transform: translateY(-50%);
      font-size: 1.2rem; color: var(--gold-d); z-index: 1;
    }
    .pstep:last-child::after { display: none; }

    /* ── PROČ MY ── */
    .proc-sec { background: var(--bg2); }

    .proc-layout {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }

    /* left: big number card */
    .proc-visual { position: relative; }
    .proc-card-wrap { position: relative; }

    .proc-main-card {
      background: var(--surface);
      border: 1px solid var(--border-g);
      border-radius: 14px; padding: 3rem;
      position: relative; overflow: hidden;
    }
    .proc-main-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-d));
    }

    .proc-big {
      font-size: 7rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
      color: rgba(201,168,76,0.12); margin-bottom: 1rem; user-select: none;
    }
    .proc-big em { font-style: normal; color: var(--gold); opacity: 1; font-size: 4rem; }

    .proc-card-stats {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem;
    }
    .pcs { background: var(--bg3); border-radius: 8px; padding: 1.2rem; }
    .pcs-n { font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
    .pcs-l { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone2); margin-top: 0.25rem; font-weight: 600; }

    /* floating tag */
    .proc-float {
      position: absolute; bottom: -1.5rem; right: -1.5rem;
      background: var(--gold); border-radius: 8px; padding: 1.2rem 1.6rem;
      box-shadow: 0 12px 35px rgba(201,168,76,0.25);
    }
    .pf-n { font-size: 1.5rem; font-weight: 800; color: #0a0800; line-height: 1; }
    .pf-l { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10,8,0,0.65); font-weight: 600; }

    /* right: list */
    .proc-list { display: flex; flex-direction: column; gap: 0; }
    .pl {
      display: flex; gap: 1.4rem;
      padding: 1.6rem 0; border-bottom: 1px solid var(--border);
      align-items: flex-start;
    }
    .pl:last-child { border-bottom: none; }
    .pl-ico {
      width: 40px; height: 40px; border-radius: 8px;
      background: rgba(201,168,76,0.08); border: 1px solid var(--border-g);
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; flex-shrink: 0;
    }
    .pl-title { font-size: 0.96rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
    .pl-text { font-size: 0.82rem; line-height: 1.65; color: var(--text2); }

    /* ── CONTACT ── */
    .contact-sec { background: var(--bg); }

    .contact-wrap {
      display: grid; grid-template-columns: 1.1fr 1fr;
      gap: 4rem; align-items: start;
    }

    .cf {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px; padding: 3rem;
      position: relative; overflow: hidden;
    }
    .cf::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, var(--gold-d), var(--gold-l));
    }
    .cf h3 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 0.4rem; }
    .cf p { font-size: 0.85rem; color: var(--text2); line-height: 1.6; margin-bottom: 2rem; }

    .frow { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; }
    .fin {
      flex: 1; background: var(--bg2); border: 1px solid var(--border);
      border-radius: 8px; padding: 0.82rem 1.1rem;
      color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.88rem;
      outline: none; transition: border-color 0.25s;
    }
    .fin::placeholder { color: var(--stone2); }
    .fin:focus { border-color: var(--gold-d); }
    textarea.fin { resize: none; height: 100px; width: 100%; display: block; margin-bottom: 0.8rem; }
    select.fin { width: 100%; display: block; margin-bottom: 0.8rem; appearance: none; cursor: pointer; }
    option { background: var(--bg2); }

    .fsend {
      width: 100%; background: var(--gold); color: #0a0800;
      border: none; border-radius: 8px; padding: 0.95rem;
      font-family: 'Outfit', sans-serif; font-size: 0.92rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
      transition: background 0.25s, box-shadow 0.3s;
    }
    .fsend:hover { background: var(--gold-l); box-shadow: 0 8px 24px rgba(201,168,76,0.25); }

    /* contact info */
    .cinfo { display: flex; flex-direction: column; gap: 0; padding-top: 3.5rem; }

    .ci {
      display: flex; align-items: flex-start; gap: 1.2rem;
      padding: 1.4rem 0; border-bottom: 1px solid var(--border);
      text-decoration: none; transition: padding-left 0.25s;
    }
    .ci:first-child { padding-top: 0; }
    .ci:last-child { border-bottom: none; }
    .ci:hover { padding-left: 6px; }

    .ci-i {
      width: 42px; height: 42px; border-radius: 8px;
      background: rgba(201,168,76,0.08); border: 1px solid var(--border-g);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; flex-shrink: 0;
    }
    .ci-lbl { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.15rem; }
    .ci-val { font-size: 0.95rem; font-weight: 600; color: var(--text); }
    .ci-note { font-size: 0.78rem; color: var(--text2); margin-top: 0.1rem; }

    /* ── FOOTER ── */
    footer { background: var(--bg2); border-top: 1px solid var(--border); }
    .foot {
      max-width: 1200px; margin: 0 auto; padding: 0 4rem;
      display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
      gap: 3rem; padding-top: 3.5rem; padding-bottom: 3rem;
    }
    .fn { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.1em; color: var(--text); text-transform: uppercase; margin-bottom: 0.2rem; }
    .fn em { color: var(--gold); font-style: normal; }
    .ft { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone2); margin-bottom: 1rem; font-weight: 600; }
    .fd { font-size: 0.82rem; line-height: 1.7; color: var(--text2); max-width: 24ch; }
    .fch { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.2rem; }
    .fl { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
    .fl a { font-size: 0.84rem; color: var(--text2); text-decoration: none; transition: color 0.2s; }
    .fl a:hover { color: var(--gold); }

    .foot-b {
      max-width: 1200px; margin: 0 auto; padding: 1.2rem 4rem;
      border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
    }
    .foot-copy { font-size: 0.73rem; color: var(--stone2); }

    /* ── REVEAL ── */
    .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16,1,0.3,1); }
    .rv.on { opacity: 1; transform: none; }

    /* ══════════════════════════════════════
       RESPONZIVNÍ — TABLET (max 1024px)
    ══════════════════════════════════════ */
    @media (max-width: 1024px) {
      nav { padding: 0 2rem; }

      .hero { grid-template-columns: 1fr; }
      .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 6rem 2rem 4rem; }
      .hero-cards { flex-direction: row; gap: 1rem; }
      .hcard { flex: 1; }
      .hero-slab { display: none; }
      .hero-slab-line { display: none; }

      .hero-bar-inner { padding: 0 2rem; }
      .hb-item { padding: 1.4rem 1rem; }
      .hb-num { font-size: 1.6rem; }

      .cont { padding: 0 2rem; }

      .svc-top { grid-template-columns: 1fr; gap: 1.5rem; }
      .g3 { grid-template-columns: repeat(2, 1fr); }

      .proj-layout { grid-template-columns: 1fr; gap: 3rem; }
      .blueprint { aspect-ratio: 4/3; }

      .real-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
      }
      .rcard:nth-child(1) { grid-column: span 2; grid-row: span 1; }
      .rcard:nth-child(2),
      .rcard:nth-child(3),
      .rcard:nth-child(4),
      .rcard:nth-child(5) { grid-column: span 1; }
      .rcard:nth-child(1) .proj-img { height: 260px; }

      .proces-grid { grid-template-columns: repeat(3, 1fr); }
      .pstep:nth-child(4)::after,
      .pstep:nth-child(3)::after { display: none; }

      .proc-layout { grid-template-columns: 1fr; gap: 3rem; }
      .about-card-stack { height: 320px; }

      .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
      .cinfo { padding-top: 0; }

      .foot { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 2rem; }
      .foot-b { padding: 1.2rem 2rem; }
    }

    /* ══════════════════════════════════════
       RESPONZIVNÍ — MOBIL (max 768px)
    ══════════════════════════════════════ */
    @media (max-width: 768px) {

      /* NAV — hamburger */
      nav { padding: 0 1.2rem; height: 60px; }
      .nav-mobile-logo { display: flex; }
      nav ul { display: none; }
      .nav-hamburger {
        display: flex; flex-direction: column; gap: 5px;
        cursor: pointer; padding: 4px; background: none; border: none;
      }
      .nav-hamburger span {
        display: block; width: 24px; height: 2px;
        background: var(--text); border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s;
      }
      nav.open ul {
        display: flex; flex-direction: column;
        position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
        background: rgba(7,9,14,0.98); backdrop-filter: blur(16px);
        padding: 2rem 1.5rem; gap: 0.3rem; z-index: 199;
        overflow-y: auto;
      }
      nav.open ul li { width: 100%; }
      nav.open ul a {
        display: block; font-size: 1.1rem; padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--border);
      }
      nav.open .nsep { display: none; }
      nav.open .nav-btn {
        margin-top: 1rem; text-align: center;
        padding: 1rem !important; font-size: 1rem !important;
      }

      /* HERO */
      .hero { padding-top: 60px; }
      .hero-content { padding: 3rem 1.2rem 2rem; gap: 2rem; }
      .hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
      .hero-lead { font-size: 0.92rem; max-width: 100%; }
      .hero-ctas { flex-direction: column; }
      .cta-main, .cta-sec { width: 100%; text-align: center; justify-content: center; }

      .hero-cards { flex-direction: column; }
      .hcard-pills { display: none; }

      /* STATS BAR */
      .hero-bar-inner { flex-wrap: wrap; }
      .hb-item { flex: 1 1 33%; border-right: none; border-bottom: 1px solid var(--border); padding: 1rem; }
      .hb-item:nth-child(odd) { border-right: 1px solid var(--border); }
      .stat-sep { display: none; }

      /* SECTIONS */
      .sec { padding: 4rem 0; }
      .cont { padding: 0 1.2rem; }

      .sec-h { font-size: clamp(1.8rem, 6vw, 2.4rem); }

      /* SERVICES */
      .svc-top { margin-bottom: 2rem; }
      .tab-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .tab { flex: 0 0 auto; font-size: 0.75rem; padding: 0.75rem 1rem; white-space: nowrap; }
      .g3 { grid-template-columns: 1fr; }
      .g2 { grid-template-columns: 1fr; }

      /* BLUEPRINT */
      .proj-layout { gap: 2rem; }
      .blueprint { padding: 1.2rem; }

      /* REALIZACE */
      .real-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
      }
      .rcard:nth-child(1) { grid-column: span 1; }
      .rcard:nth-child(1) .proj-img,
      .rcard:nth-child(2) .proj-img,
      .rcard:nth-child(3) .proj-img,
      .rcard:nth-child(4) .proj-img,
      .rcard:nth-child(5) .proj-img { height: 200px; }
      .rcard-info { transform: translateY(0) !important; }

      /* Social CTA v realizacích */
      .rv[style*="justify-content:space-between"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 2rem 1.5rem !important;
      }
      .rv[style*="justify-content:space-between"] > div:last-child {
        width: 100%;
      }
      .rv[style*="justify-content:space-between"] a {
        flex: 1; justify-content: center;
      }

      /* PROCES */
      .proces-grid { grid-template-columns: 1fr; }
      .pstep::after { display: none; }
      .pstep { border-right: none; border-bottom: 1px solid var(--border); }
      .pstep:last-child { border-bottom: none; }

      /* PROC MY */
      .proc-layout { gap: 2rem; }
      .proc-main-card { padding: 2rem 1.5rem; }
      .proc-big { font-size: 5rem; }
      .proc-card-stats { grid-template-columns: 1fr 1fr; }
      .about-card-stack { height: 280px; }
      .acard-main { right: 0; }
      .acard-back { display: none; }

      /* JEDNATELÉ */
      #jednatele > .cont > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
      }

      /* CONTACT */
      .cf { padding: 2rem 1.5rem; }
      .frow { flex-direction: column; gap: 0.6rem; }
      .contact-wrap { gap: 2rem; }

      /* FOOTER */
      .foot { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.2rem; }
      .foot-b { flex-direction: column; gap: 0.8rem; text-align: center; padding: 1.2rem; }
    }

    /* ══════════════════════════════════════
       RESPONZIVNÍ — MALÝ MOBIL (max 420px)
    ══════════════════════════════════════ */
    @media (max-width: 420px) {
      .hero h1 { font-size: 2.2rem; }
      .hb-item { flex: 1 1 50%; }
      .proc-card-stats { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
      .pcs-n { font-size: 1.3rem; }
    }
    /* ── PROJEKCE GRID MOBILE ── */
    @media (max-width: 768px) {
      .projekce-grid {
        grid-template-columns: 1fr !important;
      }
      .projekce-grid > div {
        padding: 1.6rem 1.4rem !important;
      }
    }
    @media (max-width: 1024px) {
      .projekce-grid {
        grid-template-columns: 1fr !important;
      }
    }
    /* ── OBECNÁ RESPONZIVITA GRID SEKCÍ ── */
    @media (max-width: 768px) {

      /* Navigace */
      nav { padding: 0 1rem; height: 60px; }
      .nav-hamburger { display: flex !important; }
      nav ul { display: none; }
      nav.open ul {
        display: flex; flex-direction: column;
        position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
        background: rgba(7,9,14,0.98);
        padding: 2rem 1.5rem; gap: 0.3rem; z-index: 199;
        overflow-y: auto;
      }
      nav.open ul li { width: 100%; }
      nav.open ul a { display: block; font-size: 1.1rem; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
      nav.open .nsep { display: none; }
      nav.open .nav-btn { margin-top: 1rem; text-align: center; padding: 1rem !important; }

      /* Hero */
      .hero { grid-template-columns: 1fr !important; padding-top: 60px; min-height: auto; }
      .hero-content { grid-template-columns: 1fr !important; padding: 3rem 1.2rem 2rem !important; gap: 2rem !important; }
      .hero h1 { font-size: 2.6rem !important; }
      .hero-lead { font-size: 0.92rem !important; }
      .hero-ctas { flex-direction: column; }
      .cta-main, .cta-sec { width: 100%; text-align: center; justify-content: center; }
      .hero-slab, .hero-slab-line { display: none; }
      .hero-cards { flex-direction: column !important; }
      .hcard-pills { display: none; }

      /* Stats bar */
      .hero-bar-inner { flex-wrap: wrap; padding: 0 1rem !important; }
      .hb-item { flex: 1 1 33%; border-right: none !important; border-bottom: 1px solid var(--border); padding: 1rem 0.5rem !important; }

      /* Sekce */
      .sec { padding: 3.5rem 0; }
      .cont { padding: 0 1.2rem !important; }
      .sec-h { font-size: 1.9rem !important; }

      /* Služby */
      .svc-top { grid-template-columns: 1fr !important; gap: 1rem !important; }
      .tab-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .tab { flex: 0 0 auto !important; font-size: 0.72rem !important; padding: 0.7rem 0.9rem !important; white-space: nowrap; }
      .g3 { grid-template-columns: 1fr !important; }
      .g2 { grid-template-columns: 1fr !important; }

      /* Realizace */
      .real-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }
      .rcard:nth-child(1) { grid-column: span 1 !important; }

      /* Proces */
      .proces-grid { grid-template-columns: 1fr !important; }
      .pstep { border-right: none !important; border-bottom: 1px solid var(--border); }
      .pstep::after { display: none !important; }

      /* Proč my */
      .proc-layout { grid-template-columns: 1fr !important; gap: 2rem !important; }
      .proc-main-card { padding: 1.5rem !important; }
      .proc-big { font-size: 5rem !important; }
      .proc-card-stats { grid-template-columns: 1fr 1fr !important; }
      .about-card-stack { height: 260px !important; }
      .acard-back { display: none !important; }
      .acard-main { right: 0 !important; }

      /* Projekce banner */
      .proj-layout { grid-template-columns: 1fr !important; gap: 2rem !important; }

      /* Jednatelé */
      #jednatele > .cont > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
      }

      /* Kontakt */
      .contact-wrap { grid-template-columns: 1fr !important; gap: 2rem !important; }
      .cf { padding: 1.5rem !important; }
      .frow { flex-direction: column !important; gap: 0.6rem !important; }
      .cinfo { padding-top: 0 !important; }

      /* Sociální CTA v realizacích */
      div[style*="justify-content:space-between"][style*="padding:2rem"] {
        flex-direction: column !important;
        gap: 1.2rem !important;
        padding: 1.5rem !important;
      }

      /* Footer */
      .foot { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding: 2rem 1.2rem !important; }
      .foot-b { flex-direction: column !important; gap: 0.8rem !important; text-align: center !important; padding: 1rem !important; }

      /* Cookie banner */
      #kam-cookie-banner > div { flex-direction: column !important; gap: 1rem !important; }
    }

    @media (max-width: 1024px) {
      .hero-content { grid-template-columns: 1fr !important; padding: 5rem 2rem 4rem !important; }
      .hero-slab, .hero-slab-line { display: none; }
      .hero-cards { flex-direction: row !important; gap: 1rem !important; }
      .svc-top { grid-template-columns: 1fr !important; }
      .proc-layout { grid-template-columns: 1fr !important; }
      .contact-wrap { grid-template-columns: 1fr !important; }
      .foot { grid-template-columns: 1fr 1fr !important; }
      .real-grid { grid-template-columns: repeat(2,1fr) !important; grid-template-rows: auto !important; }
      .rcard:nth-child(1) { grid-column: span 2 !important; }
    }
