/* FORTHEA – společná mobilní verze */
@media(max-width:760px){
  body{overflow-x:hidden}
  .container{width:calc(100% - 28px);max-width:none}
  .header{position:sticky;top:0;height:64px}
  .nav{height:64px;gap:10px}
  .brand img{width:190px;height:54px;object-fit:contain;object-position:left center}
  .hamb{display:block;margin-left:auto;width:44px;height:42px;font-size:24px;line-height:1;cursor:pointer;border-radius:3px}
  .menu{display:none;position:absolute;left:0;right:0;top:64px;background:#031d29;flex-direction:column;gap:0;padding:8px 14px 14px;border-bottom:1px solid var(--line);box-shadow:0 10px 24px rgba(0,0,0,.25)}
  .menu.open{display:flex}
  .menu a{padding:13px 10px;font-size:15px;border-bottom:1px solid rgba(255,255,255,.07)}
  .menu a.active:after{bottom:4px;left:10px;right:auto;width:34px}
  .menu .btn{margin:10px 0 0;padding:13px 16px;border-bottom:0;text-align:center}
  .page-hero{padding:42px 0 34px;min-height:0;height:auto}
  .page-hero h1{font-size:39px;line-height:1.04;margin:8px 0 15px}
  .page-hero p{font-size:15px;line-height:1.5}
  .section{padding:30px 0}
  .about-split,.service-grid,.contact-layout,.features,.values{grid-template-columns:1fr;gap:20px}
  .about-split{height:auto!important}
  .about-split img{width:100%;height:auto;max-height:none;object-fit:cover}
  .about-split h2,.journey h2{font-size:29px;line-height:1.15}
  .about-split p{font-size:15px;line-height:1.55}
  .value,.feature{border-right:0!important;border-bottom:1px solid rgba(246,185,26,.35);padding:20px 10px}
  .value:last-child,.feature:last-child{border-bottom:0}
  .value .icon{font-size:34px}
  .value h3{font-size:19px}
  .value p,.feature p{font-size:14px;line-height:1.5}
  .service-grid{gap:14px}
  .service-card img{height:auto;aspect-ratio:1.9;object-fit:cover}
  .service-body{padding:16px}
  .service-body h3{font-size:19px}
  .reference-empty{min-height:390px;padding:55px 18px}
  .reference-empty h2{font-size:27px;line-height:1.2}
  .reference-empty p{font-size:15px}
  .journey-photo{height:220px}
  .journey-quote{font-size:26px;line-height:1.25}
  .cta{height:auto;min-height:150px;padding:28px 0}
  .cta-inner{flex-direction:column;align-items:flex-start;gap:18px}
  .cta h2{font-size:24px;line-height:1.2}
  .cta .btn{width:100%;font-size:12px;padding:14px 16px}
  .contact-grid{grid-template-columns:1fr 1fr}
  .contact-item{padding:17px 11px;gap:9px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
  .contact-item:nth-child(2n){border-right:0}
  .contact-icon{font-size:22px;flex:0 0 auto}
  .contact-item b{font-size:10px;line-height:1.25;overflow-wrap:anywhere}
  .contact-item small{font-size:8px;line-height:1.3}
  .footer{height:auto;padding:20px 0;font-size:10px}
  .footer-inner{flex-direction:column;align-items:center;text-align:center;gap:12px}
  .social{font-size:22px}

  /* Kontakt */
  .contact-layout{gap:18px}
  .address h2{font-size:27px;line-height:1.12}
  .address p{font-size:14px;line-height:1.5}
  .address .btn{width:100%;font-size:11px;padding:13px 10px}
  .map img,.building img{height:auto;aspect-ratio:1.65;object-fit:cover}
  .building{margin-top:10px}
  .form{grid-column:auto!important;padding:16px}
  .form p{font-size:13px;line-height:1.45}
  .form input,.form textarea{font-size:14px;padding:12px}
  .form textarea{height:125px}
  .form .btn{width:100%}
  .check{font-size:11px;line-height:1.4}

  /* O nás */
  body:has(.page-hero) .page-hero:after{right:-260px;top:-100px;width:430px;height:380px}

  /* cookie */
  .cookie-banner{left:10px;right:10px;bottom:10px;flex-direction:column;align-items:stretch;gap:12px;padding:14px}
  .cookie-banner__actions{justify-content:flex-end;flex-wrap:wrap}
}
.mobile-home{display:none}
@media(max-width:760px){
  body:has(.mobile-home){overflow-x:hidden}
  body:has(.mobile-home)>.screen{display:none}
  .mobile-home{display:block;background:#032331;color:#fff;min-height:100vh;font-family:'Montserrat',Arial,Helvetica,sans-serif}
  .mh-hero{padding:48px 0 38px;min-height:500px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(3,31,43,.97),rgba(3,31,43,.78)),url('assets/hero.jpg') center/cover;border-bottom:1px solid rgba(255,255,255,.1)}
  .mh-hero h1{font-size:38px;line-height:1.04;margin:9px 0 18px}.mh-hero h1 span{color:#f6b91a}.mh-hero p{font-size:15px;line-height:1.5;margin:0;color:#f0f2f3}
  .mh-services,.mh-why,.mh-gallery{padding:30px 0;border-bottom:1px solid rgba(117,165,181,.16)}
  .mh-services h2,.mh-why h2,.mh-gallery h2{font-size:14px;color:#f6b91a;letter-spacing:.04em;margin:0 0 16px;display:flex;align-items:center;gap:10px}.mh-services h2:before,.mh-services h2:after,.mh-why h2:before,.mh-why h2:after,.mh-gallery h2:before,.mh-gallery h2:after{content:'';height:2px;width:25px;background:#f6b91a}
  .mh-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mh-service-grid a{padding:17px 10px;border:1px solid rgba(74,132,151,.45);background:#062a39;color:#fff;font-weight:700;font-size:12px;text-align:center;border-radius:3px}
  .mh-features{display:grid;grid-template-columns:1fr;gap:10px}.mh-features>div{padding:18px;border:1px solid rgba(74,132,151,.35);background:rgba(255,255,255,.015)}.mh-features b{font-size:16px}.mh-features p{font-size:13px;line-height:1.45;color:#c8d0d5;margin:7px 0 0}
  .mh-gallery-grid{display:grid;grid-template-columns:1fr;gap:12px}.mh-gallery-grid figure{margin:0;border:1px solid rgba(74,132,151,.4);background:#062a39}.mh-gallery-grid img{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}.mh-gallery-grid figcaption{padding:10px;font-size:13px;font-weight:700}
  .mh-cta{padding:30px 0;background:linear-gradient(90deg,#07364a,#062939)}.mh-cta h2{font-size:25px;line-height:1.2;margin:0 0 18px}.mh-cta h2 span{color:#f6b91a}.mh-cta .btn{width:100%;font-size:12px;padding:14px}
}

/* FORTHEA – FINAL MOBILE HOMEPAGE PASS – 13.09.2026 */
@media (max-width:760px){
  .mobile-home .header{
    height:64px;
    background:rgba(3,29,41,.98);
  }
  .mobile-home .nav{
    height:64px;
    gap:8px;
  }
  .mobile-home .brand{
    min-width:0;
    display:flex;
    align-items:center;
  }
  .mobile-home .brand img{
    width:176px;
    height:52px;
    object-fit:contain;
    object-position:left center;
  }
  .mobile-home .hamb{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
    width:44px;
    height:42px;
    padding:0;
    border:1px solid rgba(255,255,255,.30);
    border-radius:4px;
    background:rgba(255,255,255,.035);
    color:#fff;
    font-size:23px;
    line-height:1;
    appearance:none;
    -webkit-appearance:none;
  }
  .mobile-home .menu{
    top:64px;
    padding:8px 12px 14px;
  }

  /* Hero: no artificial empty height on phones. */
  .mobile-home .mh-hero{
    min-height:0;
    height:auto;
    padding:34px 0 38px;
    align-items:flex-start;
    background:
      linear-gradient(90deg,rgba(3,31,43,.95),rgba(3,31,43,.82)),
      url('assets/hero.jpg') center center/cover no-repeat;
  }
  .mobile-home .mh-hero .container{
    width:calc(100% - 40px);
  }
  .mobile-home .mh-hero .eyebrow{
    font-size:17px;
    line-height:1.2;
    margin:0 0 8px;
  }
  .mobile-home .mh-hero h1{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.4px;
    margin:0 0 18px;
  }
  .mobile-home .mh-hero p{
    max-width:100%;
    font-size:16px;
    line-height:1.48;
    margin:0;
  }

  /* Services: compact, balanced two-column mobile grid. */
  .mobile-home .mh-services,
  .mobile-home .mh-why,
  .mobile-home .mh-gallery{
    padding:30px 0;
  }
  .mobile-home .mh-services .container,
  .mobile-home .mh-why .container,
  .mobile-home .mh-gallery .container{
    width:calc(100% - 28px);
  }
  .mobile-home .mh-services h2,
  .mobile-home .mh-why h2,
  .mobile-home .mh-gallery h2{
    font-size:15px;
    line-height:1.2;
    margin:0 0 18px;
    gap:9px;
  }
  .mobile-home .mh-services h2:before,
  .mobile-home .mh-services h2:after,
  .mobile-home .mh-why h2:before,
  .mobile-home .mh-why h2:after,
  .mobile-home .mh-gallery h2:before,
  .mobile-home .mh-gallery h2:after{
    width:28px;
    height:2px;
    flex:0 0 28px;
  }
  .mobile-home .mh-service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .mobile-home .mh-service-grid a{
    min-height:64px;
    padding:10px 7px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:4px;
    font-size:12px;
    line-height:1.18;
  }

  .mobile-home .mh-features{
    grid-template-columns:1fr;
    gap:10px;
  }
  .mobile-home .mh-features>div{
    padding:16px;
  }
  .mobile-home .mh-features b{font-size:16px}
  .mobile-home .mh-features p{font-size:13px;line-height:1.45}

  .mobile-home .mh-gallery-grid{grid-template-columns:1fr;gap:12px}
  .mobile-home .mh-cta{padding:32px 0}
}

@media (max-width:390px){
  .mobile-home .brand img{width:160px}
  .mobile-home .mh-hero .container{width:calc(100% - 32px)}
  .mobile-home .mh-hero h1{font-size:31px}
  .mobile-home .mh-hero p{font-size:15px}
  .mobile-home .mh-service-grid{gap:8px}
  .mobile-home .mh-service-grid a{font-size:11px;min-height:60px}
}


/* FORTHEA – MOBILE HOMEPAGE REDESIGN – 14.09.2026 */
@media (max-width:760px){
  html,body{
    width:100%;
    min-height:100%;
    height:auto !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }
  body:has(.mobile-home){background:#032331;}
  body:has(.mobile-home)>.screen{display:none !important;}
  .mobile-home{display:block !important;min-height:100vh;overflow:visible;}

  .mobile-home .header{
    position:sticky;
    top:0;
    z-index:100;
    height:64px;
    background:rgba(3,29,41,.97);
    border-bottom:1px solid rgba(246,185,26,.16);
  }
  .mobile-home .nav{height:64px;width:calc(100% - 28px);}
  .mobile-home .brand img{width:172px;height:50px;}
  .mobile-home .hamb{width:44px;height:42px;border-radius:6px;}

  /* The same auditorium image used in the desktop hero, reframed for a phone. */
  .mobile-home .mh-hero{
    min-height:0;
    height:auto;
    padding:82px 0 44px;
    display:flex;
    align-items:flex-start;
    position:relative;
    overflow:hidden;
    isolation:isolate;
    background-image:
      linear-gradient(180deg,rgba(3,29,41,.70) 0%,rgba(3,29,41,.78) 45%,rgba(3,29,41,.92) 100%),
      url('assets/hero.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:auto 100%, auto 100%;
  }
  .mobile-home .mh-hero:after{
    content:'';
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(90deg,rgba(3,29,41,.35),transparent 55%,rgba(3,29,41,.25));
  }
  .mobile-home .mh-hero .container{
    width:calc(100% - 40px);
    position:relative;
    z-index:1;
  }
  .mobile-home .mh-hero .eyebrow{
    font-size:16px;
    line-height:1.2;
    letter-spacing:.01em;
    margin:0 0 12px;
    color:#f4f4f4;
  }
  .mobile-home .mh-hero h1{
    font-size:32px;
    line-height:1.08;
    letter-spacing:-.5px;
    margin:0 0 20px;
    max-width:360px;
    text-shadow:0 2px 10px rgba(0,0,0,.28);
  }
  .mobile-home .mh-hero h1 span{color:#f6b91a;}
  .mobile-home .mh-hero p{
    max-width:365px;
    font-size:15px;
    line-height:1.55;
    margin:0;
    color:#f2f4f5;
    text-shadow:0 1px 6px rgba(0,0,0,.28);
  }

  .mobile-home .mh-services,
  .mobile-home .mh-why,
  .mobile-home .mh-gallery{padding:34px 0;}
  .mobile-home .mh-services .container,
  .mobile-home .mh-why .container,
  .mobile-home .mh-gallery .container{width:calc(100% - 28px);}
  .mobile-home .mh-services h2,
  .mobile-home .mh-why h2,
  .mobile-home .mh-gallery h2{
    font-size:15px;
    letter-spacing:.05em;
    margin:0 0 18px;
    gap:10px;
  }
  .mobile-home .mh-services h2:before,
  .mobile-home .mh-services h2:after,
  .mobile-home .mh-why h2:before,
  .mobile-home .mh-why h2:after,
  .mobile-home .mh-gallery h2:before,
  .mobile-home .mh-gallery h2:after{width:30px;flex:0 0 30px;}

  /* Single-column service list: cleaner and easier to scan on a phone. */
  .mobile-home .mh-service-grid{grid-template-columns:1fr;gap:10px;}
  .mobile-home .mh-service-grid a{
    min-height:56px;
    padding:12px 16px;
    justify-content:flex-start;
    text-align:left;
    font-size:14px;
    line-height:1.25;
    border-radius:6px;
    background:rgba(6,42,57,.82);
  }
  .mobile-home .mh-service-grid a:after{
    content:'→';
    margin-left:auto;
    color:#f6b91a;
    font-size:18px;
  }

  .mobile-home .mh-features{gap:10px;}
  .mobile-home .mh-features>div{padding:17px;border-radius:5px;}
  .mobile-home .mh-gallery-grid{gap:12px;}
  .mobile-home .mh-cta{padding:34px 0;}
}
@media (max-width:390px){
  .mobile-home .brand img{width:160px;}
  .mobile-home .mh-hero{padding-top:70px;padding-bottom:38px;}
  .mobile-home .mh-hero h1{font-size:30px;}
  .mobile-home .mh-hero p{font-size:14px;}
}

/* FORTHEA – MOBILE HOMEPAGE FINAL POLISH – 14.09.2026 */
@media (max-width:760px){
  .mobile-home .header{
    height:86px;
  }
  .mobile-home .nav{
    height:86px;
    width:calc(100% - 28px);
  }
  .mobile-home .brand img{
    width:238px;
    height:68px;
    object-fit:contain;
    object-position:left center;
  }
  .mobile-home .hamb{
    width:48px;
    height:46px;
    font-size:25px;
  }
  .mobile-home .menu{
    top:86px;
  }

  /* More of the auditorium photo is intentionally visible. */
  .mobile-home .mh-hero{
    padding:58px 0 48px;
    background-image:
      linear-gradient(180deg,rgba(3,29,41,.40) 0%,rgba(3,29,41,.48) 48%,rgba(3,29,41,.67) 100%),
      url('assets/hero.jpg');
    background-position:center center;
    background-size:auto 100%, auto 100%;
  }
  .mobile-home .mh-hero:after{
    background:linear-gradient(90deg,rgba(3,29,41,.18),transparent 62%,rgba(3,29,41,.12));
  }
  .mobile-home .mh-hero .container{
    width:calc(100% - 40px);
  }
  .mobile-home .mh-hero .eyebrow{
    font-size:17px;
    margin-bottom:13px;
  }
  .mobile-home .mh-hero h1{
    font-size:33px;
    line-height:1.07;
    margin-bottom:21px;
  }
  .mobile-home .mh-hero p{
    font-size:15.5px;
    line-height:1.53;
  }

  /* Larger, more legible contact information. */
  .mobile-home .contact-grid{
    grid-template-columns:1fr 1fr;
  }
  .mobile-home .contact-item{
    padding:20px 13px;
    gap:10px;
    align-items:flex-start;
  }
  .mobile-home .contact-icon{
    font-size:24px;
    line-height:1.15;
  }
  .mobile-home .contact-item b{
    display:block;
    font-size:13px;
    line-height:1.3;
    overflow-wrap:anywhere;
  }
  .mobile-home .contact-item small{
    display:block;
    margin-top:3px;
    font-size:10px;
    line-height:1.35;
  }
  .mobile-home .footer{
    font-size:10px;
  }
}
@media (max-width:390px){
  .mobile-home .brand img{width:215px;height:66px;}
  .mobile-home .mh-hero{padding-top:48px;}
  .mobile-home .mh-hero h1{font-size:30px;}
  .mobile-home .contact-item b{font-size:12px;}
  .mobile-home .contact-item small{font-size:9.5px;}
}
