/*
Theme Name: Legalitas Modern 3.5
Theme URI: https://legalitas.cz/
Author: Legalitas
Description: Moderní responzivní WordPress šablona Legalitas podle schválené vizualizace.
Version: 3.5.10.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: legalitas-modern
*/
:root{--orange:#ff632d;--orange2:#ee5420;--ink:#202a32;--dark:#142129;--muted:#68727a;--line:#e6e9eb;--soft:#fafafa;--white:#fff;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}img{max-width:100%;height:auto}a{color:inherit}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}
.site-header{height:78px;background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid #eceff1}.header-inner{height:100%;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;margin-right:auto}.brand img{width:220px;height:54px;display:block;object-fit:contain;object-position:left center}.main-nav{display:flex;align-items:center;gap:32px}.main-nav a{text-decoration:none;font-size:13px;font-weight:600}.main-nav a:hover{color:var(--orange)}.menu-toggle{display:none;background:none;border:0;font-size:27px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--orange);color:#fff;text-decoration:none;padding:14px 22px;border-radius:2px;font-size:13px;font-weight:700;border:0;transition:.15s}.btn:hover{background:var(--orange2);transform:translateY(-1px)}
.hero{min-height:490px;background:#142129 url('assets/img/hero-legalitas-office-right-logo.png') center/cover no-repeat;color:#fff}.hero-inner{min-height:490px;display:flex;align-items:center}.hero-copy{max-width:500px}.hero h1{font-size:58px;line-height:1.04;letter-spacing:-.045em;margin:0 0 20px}.hero h1 span{color:var(--orange)}.hero p{font-size:18px;color:#f0f3f5;margin:0 0 26px}
.values{background:#fff;border-bottom:1px solid #edf0f2}.values-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0}.value{display:flex;align-items:center;justify-content:center;gap:14px;min-height:68px;border-right:1px solid #e6e9eb;text-align:left;font-size:14px;font-weight:700}.value:last-child{border-right:0}.value b{font-size:27px;color:var(--orange);font-weight:400}
.section{padding:72px 0}.eyebrow{display:block;color:var(--orange);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border-left:2px solid var(--orange);padding-left:10px;margin-bottom:13px}h1,h2,h3{letter-spacing:-.03em}h2{font-size:40px;line-height:1.13;margin:0 0 20px}h3{margin:0 0 8px}.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:28px}.section-title-row h2{margin-bottom:0}.section-title-row>p{max-width:430px;color:var(--muted);font-size:14px}.align-top{align-items:flex-start}.text-link{color:var(--orange);font-size:13px;font-weight:700;text-decoration:none}
.services-section{background:#fff}.service-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 18px}.service-card{background:#fff}.service-card>img{display:block;width:100%;aspect-ratio:1.92;object-fit:cover}.service-card-body{position:relative;padding:15px 6px 12px}.service-card h3{font-size:17px}.service-card p{font-size:13px;color:var(--muted);margin:0;padding-right:22px}.service-card-body>a{position:absolute;right:4px;bottom:9px;color:var(--orange);font-size:22px;text-decoration:none}
.team-preview{background:#fbfbfb}.team-preview-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.lawyer-card{background:#fff;padding-bottom:16px}.lawyer-photo{aspect-ratio:1.05;background:#e9edef;display:grid;place-items:center;overflow:hidden}.lawyer-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.lawyer-photo span{font-size:48px;color:#a7b0b7;font-weight:800}.lawyer-card h3,.lawyer-card p,.lawyer-card .lawyer-role,.lawyer-card .text-link{margin-left:15px;margin-right:15px}.lawyer-card h3{font-size:16px;margin-top:14px;margin-bottom:3px}.lawyer-role{font-size:13px;color:var(--orange);font-weight:700}.lawyer-card p{font-size:12px;color:var(--muted);min-height:55px;margin-top:10px}
.about-home{background:#fff}.about-home-grid{display:grid;grid-template-columns:40% 60%;min-height:390px}.about-home-copy{padding:55px 60px 50px 0;align-self:center}.about-home-copy h2{font-size:42px}.about-home-copy p{color:var(--muted);font-size:14px;margin-bottom:24px}.about-home-image{min-height:390px;background:url('assets/img/about-office-hd.jpg') center/cover no-repeat}
.consult-strip{background:#16242d url('assets/img/cta-clean-hd.jpg') center/cover no-repeat;color:#fff}.consult-strip-inner{min-height:160px;display:flex;justify-content:space-between;align-items:center;gap:40px}.consult-strip h2{font-size:28px;margin:0 0 3px}.consult-strip p{margin:0;color:#dbe1e5;font-size:14px}.consult-strip .btn{min-width:170px}
.contact-section{padding:58px 0;background:#fff}.contact-grid{display:grid;grid-template-columns:33% 67%;align-items:stretch}.contact-copy{padding:10px 55px 10px 0}.contact-copy h2{font-size:38px}.contact-lines{display:grid;gap:17px;margin:28px 0}.contact-lines>div{display:flex;gap:12px;align-items:flex-start;font-size:14px}.contact-lines b{color:var(--orange);font-size:19px}.contact-lines a{text-decoration:none}.contact-map{min-height:330px}.contact-map iframe{display:block;border:0;width:100%;height:100%;min-height:330px}
.site-footer{background:#132029;color:#cfd6da;padding:36px 0 22px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;align-items:center;gap:45px}.footer-brand img{width:190px;max-height:70px;object-fit:contain;object-position:left center}.footer-contact{display:grid;gap:7px;font-size:13px}.footer-contact a{text-decoration:none;color:#dbe0e4}.footer-bottom{display:flex;justify-content:space-between;gap:25px;border-top:1px solid rgba(255,255,255,.15);margin-top:26px;padding-top:18px;color:#88959e;font-size:11px}.footer-bottom a{color:#aab4ba}
.page-hero{color:#fff;background:#16242d url('assets/img/subpage-office-hd.jpg') center/cover no-repeat;position:relative}.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,27,34,.94),rgba(16,27,34,.72) 58%,rgba(16,27,34,.2))}.page-hero-inner{position:relative;z-index:1;padding:58px 0 64px}.breadcrumb{font-size:12px;color:#c7d0d5;margin-bottom:28px}.page-hero h1{font-size:58px;margin:0 0 18px}.page-hero h1 span{color:var(--orange)}.page-hero p{font-size:17px;max-width:720px;color:#ecf0f2}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.person{background:#fff;border:1px solid var(--line)}.person-photo{aspect-ratio:1.24;background:#eceff1;display:grid;place-items:center;overflow:hidden}.person-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.person-initials{font-size:56px;color:#aab2b8;font-weight:800}.person-body{padding:18px}.person-body h3{font-size:18px;margin-bottom:4px}.person-role{color:var(--orange);font-size:13px;font-weight:700}.person-meta{display:grid;gap:4px;margin-top:13px;font-size:12px;color:var(--muted)}.person-meta a{text-decoration:none}
.services-list-section{background:#fff}.service-row{display:grid;grid-template-columns:230px 1fr 40px;align-items:center;gap:28px;padding:12px 0;border-bottom:1px solid var(--line)}.service-row img{width:230px;height:130px;object-fit:cover}.service-row h2{font-size:24px;margin:0 0 8px}.service-row p{margin:0;color:var(--muted);font-size:14px;max-width:680px}.service-row>a{color:var(--orange);font-size:26px;text-decoration:none}.pricing{margin-top:42px;padding:34px;border-left:3px solid var(--orange);background:#fbfbfb}.pricing h2{font-size:32px}.pricing p{color:var(--muted)}
.form-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:48px;align-items:start}.form-card{background:#fff;border:1px solid var(--line);padding:32px;box-shadow:0 14px 40px rgba(20,31,38,.06)}.legalitas-form{display:grid;gap:17px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.legalitas-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.legalitas-form input,.legalitas-form select,.legalitas-form textarea{width:100%;padding:13px 14px;border:1px solid #ccd2d6;font:inherit;background:#fff}.legalitas-form input:focus,.legalitas-form select:focus,.legalitas-form textarea:focus{outline:2px solid rgba(255,99,45,.12);border-color:var(--orange)}.check{display:flex!important;gap:9px!important;align-items:flex-start;font-weight:400!important}.check input{width:17px;height:17px;margin-top:3px;accent-color:var(--orange)}.check a{color:var(--orange)}.notice{padding:13px 15px;background:#fff3ee;border-left:3px solid var(--orange);margin-bottom:18px}.contact-card{background:#16242d;color:#fff;padding:28px;border-left:3px solid var(--orange);display:grid;gap:7px}.contact-card a{color:#fff;text-decoration:none}.form-note{font-size:11px;color:#7a848b}
@media(max-width:920px){.main-nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:20px 24px;flex-direction:column;align-items:flex-start;border-bottom:1px solid #eee}.main-nav.open{display:flex}.menu-toggle{display:block}.header-cta{display:none}.service-cards{grid-template-columns:repeat(2,1fr)}.team-preview-grid{grid-template-columns:repeat(2,1fr)}.team-grid{grid-template-columns:repeat(2,1fr)}.about-home-grid{grid-template-columns:1fr}.about-home-copy{padding-right:0}.contact-grid{grid-template-columns:1fr}.contact-copy{padding-right:0;margin-bottom:25px}.form-layout{grid-template-columns:1fr}}
@media(max-width:620px){.wrap{width:min(var(--max),calc(100% - 28px))}.site-header{height:70px}.header-inner{height:70px}.main-nav{top:70px}.brand img{width:185px;height:46px}.hero,.hero-inner{min-height:500px}.hero{background-position:64% center}.hero h1{font-size:44px}.hero p{font-size:16px}.values-grid{grid-template-columns:repeat(2,1fr);gap:0}.value{border-bottom:1px solid #e8ebed}.value:nth-child(2){border-right:0}.service-cards,.team-preview-grid,.team-grid{grid-template-columns:1fr}.section{padding:56px 0}.section-title-row{align-items:flex-start;flex-direction:column;gap:12px}.about-home-image{min-height:290px}.consult-strip-inner{align-items:flex-start;flex-direction:column;padding-top:35px;padding-bottom:35px;min-height:0}.contact-map,.contact-map iframe{min-height:280px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.page-hero h1{font-size:45px}.service-row{grid-template-columns:1fr}.service-row img{width:100%;height:auto;aspect-ratio:1.8}.service-row>a{display:none}.form-row{grid-template-columns:1fr}}


/* Services page v3.1 */
.eyebrow-light{color:#ff875d;border-left-color:#ff875d}
.services-hero{min-height:390px}
.services-hero .page-hero-inner{padding-top:70px;padding-bottom:78px}
.services-modern{background:#fff}
.services-intro{margin-bottom:42px}
.services-intro>p{max-width:470px;font-size:15px;line-height:1.7}
.modern-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.modern-service-card{position:relative;background:#fff;border:1px solid var(--line);padding:29px 25px 26px;min-height:300px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.modern-service-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(20,31,38,.08);border-color:#d9dde0}
.service-icon{width:58px;height:58px;border-radius:50%;background:#fff2ed;display:grid;place-items:center;margin-bottom:22px}
.service-icon svg{width:31px;height:31px;fill:none;stroke:var(--orange);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.modern-service-card h3{font-size:19px;margin-bottom:12px}
.modern-service-card p{color:var(--muted);font-size:13px;line-height:1.65;margin:0 0 35px}
.modern-service-card>a{position:absolute;left:25px;bottom:24px;color:var(--orange);font-weight:700;font-size:13px;text-decoration:none}
.modern-service-card>a span{margin-left:5px}
.services-process{padding:74px 0;background:#f7f8f9}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid #dfe3e6;border-bottom:1px solid #dfe3e6}
.process-step{padding:30px 26px 32px;border-right:1px solid #dfe3e6}
.process-step:last-child{border-right:0}
.process-step>span{display:block;color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:18px}
.process-step h3{font-size:17px;margin-bottom:10px}
.process-step p{color:var(--muted);font-size:13px;margin:0}
.fee-section{padding:72px 0;background:#fff}
.fee-grid{display:grid;grid-template-columns:1fr .85fr;gap:70px;align-items:center}
.fee-grid>div:first-child p{max-width:560px;color:var(--muted);font-size:15px}
.fee-card{background:#17252d;color:#fff;padding:38px 40px;border-left:3px solid var(--orange);box-shadow:0 16px 42px rgba(20,31,38,.10)}
.fee-card h3{font-size:24px}
.fee-card p{color:#d5dde1;font-size:14px;margin-bottom:24px}
@media(max-width:1100px){
  .modern-service-grid{grid-template-columns:repeat(2,1fr)}
  .team-preview-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:920px){
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .process-step:nth-child(2){border-right:0}
  .process-step:nth-child(-n+2){border-bottom:1px solid #dfe3e6}
  .fee-grid{grid-template-columns:1fr;gap:30px}
}
@media(max-width:620px){
  .modern-service-grid{grid-template-columns:1fr}
  .team-preview-grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr}
  .process-step{border-right:0;border-bottom:1px solid #dfe3e6}
  .process-step:nth-child(2){border-right:0}
  .process-step:last-child{border-bottom:0}
  .fee-card{padding:30px 24px}
}

/* v3.3 – forced modern Services layout */
body.page .services-modern .modern-service-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
body.page .services-modern .modern-service-card{
  display:block!important;
  background:#fff!important;
  border:1px solid #e6e9eb!important;
  padding:30px 25px 27px!important;
  min-height:305px!important;
  box-shadow:none!important;
}
body.page .services-modern .service-icon{
  display:grid!important;
  width:60px!important;height:60px!important;
  border-radius:50%!important;
  background:#fff0ea!important;
  place-items:center!important;
}
body.page .services-modern .service-icon svg{
  width:32px!important;height:32px!important;
  stroke:#ff632d!important;fill:none!important;
}
body.page .services-modern .modern-service-card h3{
  font-size:20px!important;margin:20px 0 11px!important;
}
body.page .services-modern .modern-service-card p{
  font-size:13px!important;line-height:1.65!important;color:#68727a!important;
}
@media(max-width:1100px){
 body.page .services-modern .modern-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
 body.page .services-modern .modern-service-grid{grid-template-columns:1fr!important}
}


/* Kontakt v3.4 */
.contact-page-section{background:#fff;padding-bottom:34px}
.contact-page-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:52px;align-items:stretch}
.contact-page-info{padding:18px 0}
.contact-page-info h2{font-size:42px}
.contact-lines-large{margin-top:30px}
.contact-page-map{min-height:390px;background:#eef1f2}
.contact-page-map iframe{width:100%;height:100%;min-height:390px;border:0;display:block}
.contact-form-section{background:#f7f8f9;padding-top:62px}
.contact-form-section .form-card{background:#fff}
.contact-hero .page-hero-inner{padding-top:68px;padding-bottom:76px}
@media(max-width:920px){
  .contact-page-grid{grid-template-columns:1fr;gap:24px}
}
@media(max-width:620px){
  .contact-page-map,.contact-page-map iframe{min-height:300px}
  .contact-page-info h2{font-size:36px}
}


/* Contact form 3.5.1 */
.form-success,.form-error{padding:14px 16px;margin-bottom:20px}
.form-success{background:#eef8f0;border:1px solid #cfe6d3}
.form-error{background:#fff1ef;border:1px solid #efc9c4}
.consultation-form{display:flex;flex-direction:column;gap:18px}
.consultation-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.consultation-form label{display:flex;flex-direction:column;gap:8px}
.consultation-form input:not([type=checkbox]),
.consultation-form select,
.consultation-form textarea{width:100%;box-sizing:border-box}
.consultation-form .consent-check{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start}
@media(max-width:700px){.consultation-form .form-row{grid-template-columns:1fr}}


/* Mimosoudní řešení spotřebitelských sporů – Služby 3.5.2 */
.dispute-resolution-notice{padding:0 0 82px;background:#fff}
.dispute-resolution-box{
  position:relative;
  overflow:hidden;
  padding:38px 42px;
  background:#f5f7f8;
  border-left:4px solid #f26a32;
}
.dispute-resolution-box h2{margin:8px 0 14px;font-size:30px}
.dispute-resolution-box p{max-width:850px;color:#5f6b72;line-height:1.65}
.dispute-resolution-contact{margin:18px 0}
.dispute-resolution-box .text-link{display:inline-block;margin-top:4px}
@media(max-width:700px){
  .dispute-resolution-notice{padding-bottom:58px}
  .dispute-resolution-box{padding:28px 22px}
}


/* Zásady ochrany osobních údajů 3.5.3 */
.privacy-policy-section{background:#f5f7f8;padding:72px 0 90px}
.privacy-policy-content{
  max-width:980px;margin:0 auto;background:#fff;border:1px solid #e3e7e9;
  padding:48px 54px;color:#435058;line-height:1.75
}
.privacy-policy-content h1{font-size:38px;line-height:1.2;color:#16242d;margin:0 0 30px}
.privacy-policy-content h2{font-size:23px;line-height:1.3;color:#16242d;margin:38px 0 12px}
.privacy-policy-content p{margin:0 0 18px}
.privacy-policy-content ul{margin:0 0 24px;padding-left:24px}
.privacy-policy-content li{margin:0 0 10px}
.privacy-policy-content a{color:#e85f2a;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
  .privacy-policy-section{padding:48px 0 65px}
  .privacy-policy-content{padding:30px 22px}
  .privacy-policy-content h1{font-size:30px}
  .privacy-policy-content h2{font-size:21px}
}

.privacy-policy-content h3{font-size:19px;line-height:1.35;color:#16242d;margin:28px 0 10px}
.privacy-policy-content .privacy-list-item{padding-left:16px}


/* Logo update 3.5.6 */
.site-logo img,
.header-logo img,
.brand img{
  max-width:220px;
  height:auto;
  object-fit:contain;
  display:block;
}
.site-footer .site-logo img,
.site-footer .footer-logo img,
.footer-logo img{
  max-width:220px;
  height:auto;
  object-fit:contain;
  display:block;
}
@media(max-width:700px){
  .site-logo img,
  .header-logo img,
  .brand img,
  .site-footer .site-logo img,
  .site-footer .footer-logo img,
  .footer-logo img{
    max-width:185px;
  }
}


/* Homepage hero readability 3.5.10 */
.home .hero,
body.home .hero,
.home .home-hero,
body.home .home-hero{
  position:relative;
  background-image:url('assets/img/hero-legalitas-office-right-logo.png') !important;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  overflow:hidden;
}

/* Dark translucent panel only on the left, preserving the logo wall on the right. */
.home .hero::before,
body.home .hero::before,
.home .home-hero::before,
body.home .home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      rgba(12,22,29,.94) 0%,
      rgba(12,22,29,.90) 24%,
      rgba(12,22,29,.78) 42%,
      rgba(12,22,29,.34) 60%,
      rgba(12,22,29,.08) 74%,
      rgba(12,22,29,0) 100%
    );
}

/* Keep the actual hero copy/buttons above the overlay. */
.home .hero > *,
body.home .hero > *,
.home .home-hero > *,
body.home .home-hero > *{
  position:relative;
  z-index:1;
}

/* Explicitly protect contrast of the left-side copy. */
.home .hero h1,
.home .hero h2,
.home .hero p,
.home .hero .eyebrow,
.home .hero .hero-kicker,
.home .home-hero h1,
.home .home-hero h2,
.home .home-hero p,
.home .home-hero .eyebrow,
.home .home-hero .hero-kicker{
  color:#fff !important;
  text-shadow:0 2px 14px rgba(0,0,0,.28);
}

/* Secondary outlined button remains legible on the dark overlay. */
.home .hero .btn-outline,
.home .home-hero .btn-outline{
  color:#fff !important;
  border-color:rgba(255,255,255,.72) !important;
  background:rgba(255,255,255,.06) !important;
}

.home .hero .btn-outline:hover,
.home .home-hero .btn-outline:hover{
  background:#fff !important;
  color:#16242d !important;
}

@media(max-width:900px){
  .home .hero::before,
  body.home .hero::before,
  .home .home-hero::before,
  body.home .home-hero::before{
    background:rgba(12,22,29,.74);
  }
}
