:root{
  --green-dark:#163d2a;
  --green:#2f6b45;
  --green-light:#edf3ee;
  --text:#18201b;
  --muted:#647168;
  --line:#dfe7e2;
  --bg:#f7f8f5;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:#edf3ee;
  border-bottom:1px solid #d6e3da;
}

.topbar-inner{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:46px;
  display:block;
}

.menu{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:15px;
  font-weight:800;
}

.menu a{
  padding:12px 20px;
  border-radius:999px;
  transition:0.2s;
}

.menu a:hover,
.menu a.active{
  background:var(--green-dark);
  color:white;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:10px;
  border:0;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
}

.menu-toggle span{
  display:block;
  width:100%;
  height:2px;
  margin:5px 0;
  border-radius:2px;
  background:var(--green-dark);
}

.hero{
  height:340px;
  margin-top:78px;
  background-image:url('./assets/hero.jpg');
  background-size:cover;
  background-position:center;
}

.hero-content{
  height:100%;
  display:flex;
  align-items:center;
}

.hero-box{
  max-width:650px;
  background:rgba(255,255,255,0.82);
  padding:24px 34px 20px;
  border-radius:24px;
}

.hero-badge{
  display:inline-block;
  background:#e8f1eb;
  color:var(--green-dark);
  padding:7px 14px;
  border-radius:999px;
  margin-bottom:14px;
  font-size:13px;
  font-weight:800;
}

.hero h1{
  margin:0;
  font-size:50px;
  line-height:0.98;
  color:var(--green-dark);
}

.hero p{
  margin:16px 0 0;
  font-size:18px;
  color:#314036;
}

.section{
  padding:78px 0;
}

.section h2{
  margin:0 0 28px;
  font-size:50px;
  line-height:1;
  color:var(--green-dark);
}

.work-support{
  background:#fff;
}

.support-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom:34px;
}

.support-card{
  display:flex;
  flex-direction:column;
  min-height:310px;
  padding:34px;
  border:1px solid var(--line);
  border-radius:26px;
  background:#f8faf8;
  box-shadow:0 12px 34px rgba(22,61,42,0.06);
}

.support-card-work{
  background:var(--green-light);
}

.section-label{
  margin:0 0 12px;
  color:var(--green);
  font-size:13px;
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.support-card h2{
  margin-bottom:18px;
  font-size:36px;
  line-height:1.08;
}

.support-card p:not(.section-label){
  margin:0 0 26px;
  color:var(--muted);
  font-size:18px;
}

.section-cta,
.current-need-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:52px;
  padding:13px 22px;
  border-radius:10px;
  background:var(--green-dark);
  color:#fff;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  box-shadow:0 10px 22px rgba(22,61,42,0.18);
  transition:0.2s;
}

.support-card .section-cta{
  margin-top:auto;
}

.section-cta:hover,
.current-need-cta:hover{
  background:#0f2d1e;
  color:#fff;
}

.current-need{
  scroll-margin-top:98px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;
  gap:34px;
  align-items:center;
  padding:38px;
  border:2px solid #9dbda8;
  border-radius:28px;
  background:linear-gradient(135deg, #143b28 0%, #235d3b 100%);
  color:#fff;
  box-shadow:0 18px 48px rgba(22,61,42,0.22);
}

.current-need-label{
  display:inline-flex;
  margin:0 0 14px;
  padding:7px 12px;
  border-radius:999px;
  background:#dceadf;
  color:var(--green-dark);
  font-size:12px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.current-need h2{
  margin:0 0 16px;
  color:#fff;
  font-size:36px;
  line-height:1.08;
}

.current-need-intro{
  margin:0;
  color:rgba(255,255,255,0.82);
  font-size:17px;
}

.current-need-facts{
  display:grid;
  gap:14px;
  margin:0;
}

.current-need-facts div{
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,0.18);
}

.current-need-facts div:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.current-need-facts dt{
  margin-bottom:3px;
  color:#bcd9c5;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.current-need-facts dd{
  margin:0;
  font-size:15px;
}

.current-need-cta{
  background:#fff;
  color:var(--green-dark);
  box-shadow:none;
  white-space:nowrap;
}

.current-need-cta:hover{
  background:#edf3ee;
  color:var(--green-dark);
}

.housing-detail{
  scroll-margin-top:78px;
  background:#f3f6f3;
}

.housing-page{
  margin-top:78px;
}

.housing-detail-card{
  max-width:980px;
  margin:0 auto;
  padding:42px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 14px 38px rgba(22,61,42,0.07);
}

.housing-detail-card > h1,
.housing-detail-card > h2{
  margin-bottom:30px;
  font-size:42px;
  line-height:1.08;
  color:var(--green-dark);
}

.housing-detail-content{
  max-width:830px;
  color:#435148;
  font-size:17px;
}

.housing-detail-content p{
  margin:0 0 20px;
}

.housing-detail-content h2,
.housing-detail-content h3{
  margin:28px 0 12px;
  color:var(--green-dark);
  font-size:20px;
}

.housing-detail-content ul{
  margin:0 0 22px;
  padding-left:22px;
}

.housing-detail-content li{
  margin-bottom:7px;
}

.housing-contact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:34px;
  padding:24px;
  border-radius:18px;
  background:var(--green-light);
}

.housing-contact strong,
.housing-contact span{
  display:block;
}

.housing-contact strong{
  margin-bottom:5px;
  color:var(--green-dark);
  font-size:19px;
}

.housing-contact span{
  color:var(--muted);
  font-size:15px;
}

.housing-offer{
  margin-top:40px;
  padding:32px;
  border-radius:22px;
  background:var(--green-light);
}

.housing-offer-heading h2{
  margin:0 0 12px;
  color:var(--green-dark);
  font-size:30px;
  line-height:1.1;
}

.housing-offer-heading > p:not(.section-label){
  margin:0 0 26px;
  color:var(--muted);
  font-size:16px;
}

.housing-offer-heading a{
  color:var(--green-dark);
  font-weight:800;
  text-decoration:underline;
}

.housing-form{
  display:grid;
  gap:20px;
}

.housing-callback-form{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
}

.housing-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.housing-form label{
  display:grid;
  gap:8px;
  color:var(--green-dark);
  font-size:14px;
  font-weight:700;
}

.housing-form input[type="text"],
.housing-form input[type="tel"],
.housing-form input[type="email"],
.housing-form textarea{
  width:100%;
  border:1px solid #cbd9cf;
  border-radius:10px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:16px;
  font-weight:400;
  outline:none;
  transition:border-color 0.2s, box-shadow 0.2s;
}

.housing-form input[type="text"],
.housing-form input[type="tel"],
.housing-form input[type="email"]{
  height:50px;
  padding:0 14px;
}

.housing-form textarea{
  min-height:140px;
  padding:13px 14px;
  resize:vertical;
}

.housing-form input:focus,
.housing-form textarea:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(47,107,69,0.12);
}

.housing-consent{
  display:flex !important;
  grid-template-columns:none;
  align-items:flex-start;
  gap:10px !important;
  color:var(--muted) !important;
  font-size:13px !important;
  font-weight:500 !important;
}

.housing-consent input{
  flex:0 0 auto;
  margin:3px 0 0;
}

.housing-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:52px;
  padding:13px 24px;
  border:0;
  border-radius:10px;
  background:var(--green-dark);
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(22,61,42,0.18);
}

.housing-submit:hover{
  background:#0f2d1e;
}

.housing-email-fallback{
  margin:22px 0 0;
  color:var(--muted);
  font-size:14px;
}

.housing-email-fallback a{
  color:var(--green-dark);
  font-weight:800;
  text-decoration:underline;
}

.housing-privacy-note{
  margin:14px 0 0;
  color:var(--muted);
  font-size:12px;
}

.form-trap{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.housing-thanks-page{
  min-height:calc(100vh - 78px);
  background:#f3f6f3;
}

.housing-thanks{
  max-width:760px;
  text-align:center;
}

.housing-thanks h1{
  margin:0 0 18px;
}

.housing-thanks > p:not(.section-label){
  margin:0 0 28px;
  color:var(--muted);
  font-size:18px;
}

.professions-intro{
  background:#edf3ee;
}

.profession-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:42px;
}

.profession-tags a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  background:white;
  border:1px solid var(--line);
  color:var(--green-dark);
  font-size:14px;
  font-weight:800;
}

.profession-list{
  display:grid;
  gap:28px;
}

.profession-card{
  background:white;
  border:2px solid #d8e4dc;
  border-radius:28px;
  padding:28px;
  box-shadow:0 8px 24px rgba(22,61,42,0.04);
}

.profession-top{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:34px;
  align-items:start;
  margin-bottom:30px;
}

.profession-image{
  height:240px;
  border-radius:22px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#e7ece8;
}

.image-vedouci{
  background-image:
  linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05)),
  url('./assets/profese-vedouci-zahradnik.jpg');
}

.image-zahradnik{
  background-image:
  linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05)),
  url('./assets/profese-zahradnik.jpg');
}

.image-zednik{
  background-image:
  linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05)),
  url('./assets/profese-zahradnik-zednik.jpg');
}

.image-technik{
  background-image:
  linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05)),
  url('./assets/profese-technik.jpg');
}

.image-sadar{
  background-image:
  linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05)),
  url('./assets/profese-zahradnik-sadar.jpg');
}

.image-video{
  background-image:
  linear-gradient(rgba(0,0,0,0.05),rgba(0,0,0,0.05)),
  url('./assets/profese-vizualizace.jpg');
}

.position-label{
  margin:0 0 8px;
  font-size:13px;
  font-weight:800;
  color:var(--green);
  text-transform:uppercase;
}

.profession-head h3{
  margin:0 0 12px;
  font-size:42px;
  line-height:1;
  color:var(--green-dark);
}

.salary{
  margin-bottom:14px;
  font-size:20px;
  font-weight:700;
}

.lead{
  margin:0;
  font-size:19px;
  color:var(--muted);
}

.profession-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:34px;
}

.profession-detail-grid h4{
  margin:0 0 12px;
  font-size:18px;
  color:var(--green-dark);
}

.profession-detail-grid ul{
  margin:0;
  padding-left:22px;
  font-size:16px;
}

.profession-detail-grid li{
  margin-bottom:8px;
}

.back-top{
  display:flex;
  justify-content:flex-end;
  margin-top:28px;
  font-size:14px;
  font-weight:800;
  color:var(--green-dark);
}

.back-top:hover{
  text-decoration:underline;
}

.gray{
  background:#edf3ee;
}

.text{
  max-width:850px;
  font-size:21px;
  color:var(--muted);
}

.contact{
  background:white;
}

.contact-box{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
  margin-top:26px;
  font-size:18px;
}

.footer{
  background:#10251a;
  color:rgba(255,255,255,0.7);
  padding:30px 0;
  font-size:14px;
}

@media (max-width:980px){

  .support-grid{
    grid-template-columns:1fr;
  }

  .support-card{
    min-height:0;
  }

  .current-need{
    grid-template-columns:1fr 1fr;
  }

  .current-need-cta{
    grid-column:1 / -1;
  }

  .profession-top{
    grid-template-columns:1fr;
    gap:22px;
  }

  .profession-image{
    width:100%;
    height:220px;
  }

  .profession-detail-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .hero{
    height:auto;
    padding:34px 0;
  }
}

@media (max-width:640px){

  .container{
    width:min(100% - 28px, 1180px);
  }

  .hero{
    margin-top:70px;
  }

  .hero-box{
    padding:22px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero p{
    font-size:16px;
  }

  .section{
    padding:56px 0;
  }

  .section h2{
    font-size:38px;
  }

  .support-card,
  .current-need,
  .housing-detail-card{
    padding:24px;
    border-radius:22px;
  }

  .support-card h2,
  .current-need h2,
  .housing-detail-card > h1,
  .housing-detail-card > h2{
    font-size:30px;
  }

  .support-card p:not(.section-label){
    font-size:17px;
  }

  .current-need{
    grid-template-columns:1fr;
    gap:26px;
  }

  .current-need-cta,
  .section-cta{
    width:100%;
  }

  .housing-detail-content{
    font-size:16px;
  }

  .housing-detail-content h2,
  .housing-detail-content h3{
    font-size:20px;
  }

  .housing-contact{
    align-items:stretch;
    flex-direction:column;
  }

  .housing-page{
    margin-top:70px;
  }

  .housing-form-grid{
    grid-template-columns:1fr;
  }

  .housing-callback-form{
    grid-template-columns:1fr;
  }

  .housing-offer{
    padding:22px;
  }

  .housing-offer-heading h2{
    font-size:26px;
  }

  .housing-submit{
    width:100%;
  }

  .profession-tags a{
    width:100%;
    justify-content:center;
  }

  .profession-card{
    padding:18px;
  }

  .profession-image{
    height:190px;
  }

  .profession-head h3{
    font-size:30px;
  }

  .lead{
    font-size:17px;
  }

  .text{
    font-size:18px;
  }
}

@media (max-width:760px){
  .topbar-inner{
    height:70px;
  }

  .logo img{
    height:40px;
  }

  .menu-toggle{
    display:block;
    position:relative;
    z-index:102;
  }

  .menu{
    position:fixed;
    top:70px;
    left:0;
    right:0;
    z-index:101;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:16px 20px 22px;
    border-bottom:1px solid #d6e3da;
    background:#edf3ee;
    box-shadow:0 14px 24px rgba(22,61,42,0.12);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-10px);
    transition:opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .menu.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }

  .menu a{
    width:100%;
    padding:12px 16px;
    text-align:center;
  }

  body.menu-open{
    overflow:hidden;
  }
}

/* CTA tlačítko u pozice */
.profession-title-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:start;
  margin-bottom:14px;
}

.profession-title-text{
  min-width:0;
}

.profession-title-text h3{
  margin:0 0 12px;
}

.profession-title-text .salary{
  margin-bottom:0;
}

.position-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:220px;
  min-height:54px;
  padding:14px 24px;
  border-radius:10px;
  background:var(--green-dark);
  color:#fff;
  font-size:16px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(22,61,42,0.20);
  transition:0.2s;
  white-space:nowrap;
}

.position-cta:hover{
  background:#0f2d1e;
  color:#fff;
  text-decoration:none;
}

@media (max-width:1120px){
  .profession-title-row{
    grid-template-columns:1fr;
  }

  .position-cta{
    width:max-content;
  }
}

@media (max-width:640px){
  .position-cta{
    width:100%;
    min-width:0;
    white-space:normal;
  }
}

/* Doplňková pomoc za pracovními nabídkami. */
.support-secondary{
  padding:40px 0;
  background:#fff;
  scroll-margin-top:90px;
}
.support-secondary-inner{
  max-width:850px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  color:var(--muted);
  font-size:15px;
}
.section.support-secondary h2{
  margin:0 0 14px;
  font-size:24px;
  line-height:1.2;
}
.support-secondary p{
  margin:0 0 16px;
}
.cleaning-need{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.cleaning-need h3{
  margin:0 0 12px;
  color:var(--green-dark);
  font-size:20px;
  line-height:1.3;
}
.cleaning-heading{
  display:flex;
  align-items:center;
  gap:24px;
  margin-bottom:20px;
  padding:16px;
  background:#f0f5ec;
  border-radius:16px;
}
.cleaning-illustration{
  display:block;
  flex:0 0 140px;
  width:140px;
  height:140px;
}
.cleaning-heading h3{
  margin:0;
  font-size:28px;
}
@media (max-width:540px){
  .cleaning-heading{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .cleaning-illustration{
    flex-basis:auto;
    width:110px;
    height:110px;
  }
  .cleaning-heading h3{
    font-size:24px;
  }
}
.cleaning-need h4{
  margin:0 0 8px;
}
.cleaning-need ul{
  margin:0 0 16px;
  padding-left:22px;
}
.cleaning-need p:last-child{
  margin-bottom:0;
}

/* Kotvy ponechávají začátek nabídky pod pevným menu. */
.profession-card[id],
.cleaning-need[id],
#profese,
#onas,
#kontakt{
  scroll-margin-top:94px;
}
@media (max-width:760px){
  .profession-card[id],
.cleaning-need[id],
  #profese,
  #onas,
  #kontakt{
    scroll-margin-top:86px;
  }
}

/* Jednoduchá odpověď na nabídku úklidu. */
.cleaning-form{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.cleaning-form h4,
.cleaning-form p.cleaning-form-note{
  margin:0;
}
.cleaning-form-note{
  font-size:13px;
  color:var(--muted);
}
/* Původní rozměry a poloha obsahu; pouze bez bočních čar. */
.profession-card{
  border-left-color:transparent;
  border-right-color:transparent;
  border-radius:0;
  box-shadow:0 0 0 100vmax #fff;
  clip-path:inset(0 -100vmax);
}
