: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;
}

.form-page{
  padding:128px 0 80px;
  background:#edf3ee;
}

.form-hero{
  margin-bottom:28px;
}

.form-label{
  display:inline-block;
  margin:0 0 12px;
  background:white;
  border:1px solid var(--line);
  color:var(--green-dark);
  padding:8px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
}

.form-hero h1{
  margin:0;
  font-size:54px;
  line-height:1;
  color:var(--green-dark);
}

.form-lead{
  margin:14px 0 0;
  font-size:22px;
  font-weight:700;
  color:var(--green);
}

form{
  display:grid;
  gap:24px;
}

.form-card{
  background:white;
  border:2px solid #d8e4dc;
  border-radius:28px;
  padding:28px;
  box-shadow:0 8px 24px rgba(22,61,42,0.04);
}

.form-card h2{
  margin:0 0 20px;
  font-size:30px;
  line-height:1.1;
  color:var(--green-dark);
}

label{
  display:block;
  margin:16px 0 0;
  font-size:17px;
  font-weight:700;
  color:var(--text);
}

.label-title{
  margin:0 0 10px;
  font-size:17px;
  font-weight:800;
  color:var(--text);
}

input[type=text],
input[type=tel],
input[type=email],
input[type=number],
textarea{
  width:100%;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid #cbd8d0;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-weight:500;
}

textarea{
  resize:vertical;
}

.choice{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
  margin:10px 0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8faf7;
  cursor:pointer;
}

.choice:hover{
  border-color:#b8cbbf;
  background:#f1f6f2;
}

.choice input{
  flex:0 0 auto;
  width:22px;
  height:22px;
  margin:1px 0 0;
  accent-color:var(--green-dark);
}

.choice span{
  font-size:17px;
  font-weight:700;
  line-height:1.35;
}

.compact-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}

.compact-grid .choice{
  margin:0;
}

.gdpr{
  background:#edf3ee;
}

.submit{
  width:100%;
  min-height:64px;
  padding:16px 28px;
  border:0;
  border-radius:14px;
  background:var(--green-dark);
  color:white;
  font-size:22px;
  font-weight:800;
  font-family:Inter,Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(22,61,42,0.20);
}

.submit:hover{
  background:#0f2d1e;
}

.is-hidden{
  display:none !important;
}

@media (max-width:640px){
  .container{
    width:min(100% - 28px, 1180px);
  }

  .topbar-inner{
    height:70px;
  }

  .logo img{
    height:40px;
  }

  .menu{
    gap:4px;
    font-size:13px;
  }

  .menu a{
    padding:9px 10px;
  }

  .form-page{
    padding:104px 0 56px;
  }

  .form-hero h1{
    font-size:38px;
  }

  .form-lead{
    font-size:18px;
  }

  .form-card{
    padding:18px;
    border-radius:22px;
  }

  .form-card h2{
    font-size:25px;
  }

  .compact-grid{
    grid-template-columns:1fr;
  }

  .choice{
    padding:13px 14px;
  }

  .choice span{
    font-size:16px;
  }

  .submit{
    font-size:20px;
  }
}

/* Mobilní menu shodné s hlavní stránkou. */
.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);
}

@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;
  }
}

